util/xcompile/xcompile: Remove -Wno-unused-but-set-variable from CFLAGS

Do not disable warnings about unused but set variables to further
improve the code quality.

Change-Id: I25fa29ac42c9d09596d03f11fb01f31635a62a11
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/3981
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Paul Menzel 2013-10-20 00:11:34 +02:00 committed by Martin Roth
parent 0a20c08d0f
commit 534c5e1133
1 changed files with 0 additions and 5 deletions

View File

@ -171,11 +171,6 @@ testas() {
detect_special_flags() { detect_special_flags() {
local architecture="$1" local architecture="$1"
# GCC 4.6 is much more picky about unused variables.
# Turn off it's warnings for now:
testcc "$GCC" "$CFLAGS_GCC -Wno-unused-but-set-variable " &&
CFLAGS_GCC="$CFLAGS_GCC -Wno-unused-but-set-variable "
# Check for an operational -m32/-m64 # Check for an operational -m32/-m64
testcc "$GCC" "$CFLAGS_GCC -m$TWIDTH " && testcc "$GCC" "$CFLAGS_GCC -m$TWIDTH " &&
CFLAGS_GCC="$CFLAGS_GCC -m$TWIDTH " CFLAGS_GCC="$CFLAGS_GCC -m$TWIDTH "