diff configure.ac @ 1789:9db7ad441ea6

Minor build tweak
author Chris Cannam
date Tue, 24 Apr 2018 14:14:58 +0100
parents 076aca59192f
children adc8a48f4e4c
line wrap: on
line diff
--- a/configure.ac	Tue Apr 24 10:16:16 2018 +0100
+++ b/configure.ac	Tue Apr 24 14:14:58 2018 +0100
@@ -54,7 +54,7 @@
 
 if test "x$GCC" = "xyes"; then
    	CXXFLAGS_ANY="-std=c++11 -fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
-        CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror -fsanitize=undefined"
+        CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -O2 -Werror"
    	CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O3 -ffast-math"
    	CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
         LIBS_DEBUG="$LIBS -lubsan"