Mercurial > hg > sonic-visualiser
changeset 1789:9db7ad441ea6
Minor build tweak
author | Chris Cannam |
---|---|
date | Tue, 24 Apr 2018 14:14:58 +0100 |
parents | 630cb7120480 |
children | 07bd0eaa8114 |
files | configure configure.ac vext-lock.json |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
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
--- 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"