Mercurial > hg > sonic-visualiser
comparison configure.ac @ 1789:9db7ad441ea6
Minor build tweak
author | Chris Cannam |
---|---|
date | Tue, 24 Apr 2018 14:14:58 +0100 |
parents | 076aca59192f |
children | adc8a48f4e4c |
comparison
equal
deleted
inserted
replaced
1788:630cb7120480 | 1789:9db7ad441ea6 |
---|---|
52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 52 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 53 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
54 | 54 |
55 if test "x$GCC" = "xyes"; then | 55 if test "x$GCC" = "xyes"; then |
56 CXXFLAGS_ANY="-std=c++11 -fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 56 CXXFLAGS_ANY="-std=c++11 -fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
57 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror -fsanitize=undefined" | 57 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -O2 -Werror" |
58 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O3 -ffast-math" | 58 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O3 -ffast-math" |
59 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" | 59 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" |
60 LIBS_DEBUG="$LIBS -lubsan" | 60 LIBS_DEBUG="$LIBS -lubsan" |
61 fi | 61 fi |
62 | 62 |