Mercurial > hg > svgui
comparison configure @ 943:788b7623bfca tonioni
Revert to -Werror in debug only
author | Chris Cannam |
---|---|
date | Mon, 13 Apr 2015 13:52:05 +0100 |
parents | 635109400804 |
children | 9fc23e778bfa |
comparison
equal
deleted
inserted
replaced
942:fcbfc7fad1f2 | 943:788b7623bfca |
---|---|
4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
4344 | 4344 |
4345 if test "x$GCC" = "xyes"; then | 4345 if test "x$GCC" = "xyes"; then |
4346 CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 4346 CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
4347 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" | 4347 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -Werror -g" |
4348 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" | 4348 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" |
4349 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" | 4349 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" |
4350 fi | 4350 fi |
4351 | 4351 |
4352 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 4352 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |