Mercurial > hg > sonic-visualiser
diff configure @ 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 Tue Apr 24 10:16:16 2018 +0100 +++ b/configure Tue Apr 24 14:14:58 2018 +0100 @@ -4425,7 +4425,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" @@ -4442,8 +4442,8 @@ $as_echo "$as_me: enabling debug build" >&6;} QMAKE_CONFIG="debug" CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" +SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" LIBS="$LIBS_DEBUG" -SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" fi