Mercurial > hg > tony
comparison configure @ 465:6750a9502191 v1.0-linuxbuild
Revert to -Werror in debug only
author | Chris Cannam |
---|---|
date | Mon, 13 Apr 2015 13:52:05 +0100 |
parents | a0eedd10dee3 |
children | e3a245457b6a |
comparison
equal
deleted
inserted
replaced
464:3e285a309c74 | 465:6750a9502191 |
---|---|
4361 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 4361 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
4362 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 4362 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
4363 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 4363 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
4364 | 4364 |
4365 if test "x$GCC" = "xyes"; then | 4365 if test "x$GCC" = "xyes"; then |
4366 CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 4366 CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
4367 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" | 4367 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -Werror -g" |
4368 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" | 4368 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" |
4369 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" | 4369 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" |
4370 fi | 4370 fi |
4371 | 4371 |
4372 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 4372 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |