comparison configure @ 448:b36042cb972a tonioni

Revert to -Werror in debug only
author Chris Cannam
date Mon, 13 Apr 2015 13:52:05 +0100
parents 9429622647e6
children d65ce7e55346
comparison
equal deleted inserted replaced
447:da520a68595a 448:b36042cb972a
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"