# HG changeset patch # User Chris Cannam # Date 1524575698 -3600 # Node ID 9db7ad441ea6054b425fa3ff3a6b74456099b24f # Parent 630cb7120480cec4aa34171ada288e5cab1177a4 Minor build tweak diff -r 630cb7120480 -r 9db7ad441ea6 configure --- 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 diff -r 630cb7120480 -r 9db7ad441ea6 configure.ac --- 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" diff -r 630cb7120480 -r 9db7ad441ea6 vext-lock.json --- a/vext-lock.json Tue Apr 24 10:16:16 2018 +0100 +++ b/vext-lock.json Tue Apr 24 14:14:58 2018 +0100 @@ -4,7 +4,7 @@ "pin": "8742125177ae" }, "svcore": { - "pin": "904e031c9c76" + "pin": "0925b37a3ed1" }, "svgui": { "pin": "61418c112281"