diff configure @ 1075:94253fa11318 sv_v2.5

Error only in debug build
author Chris Cannam
date Thu, 22 Oct 2015 12:26:02 +0100
parents 33418a475d9e
children b2c45b831ea8 1dc18bddc888
line wrap: on
line diff
--- a/configure	Thu Oct 22 12:00:39 2015 +0100
+++ b/configure	Thu Oct 22 12:26:02 2015 +0100
@@ -4355,8 +4355,8 @@
 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
 
 if test "x$GCC" = "xyes"; then
-   	CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
-        CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g"
+   	CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
+        CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror"
    	CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2"
    	CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
 fi