Mercurial > hg > svcore
comparison configure @ 1068:135c5899a71f tonioni
Revert to -Werror in debug only
author | Chris Cannam |
---|---|
date | Mon, 13 Apr 2015 13:52:05 +0100 |
parents | 98d4dabbf740 |
children | def2db9c4ab0 |
comparison
equal
deleted
inserted
replaced
1067:24c48323c662 | 1068:135c5899a71f |
---|---|
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" |