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:
parent
0a20c08d0f
commit
534c5e1133
|
@ -171,11 +171,6 @@ testas() {
|
|||
|
||||
detect_special_flags() {
|
||||
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
|
||||
testcc "$GCC" "$CFLAGS_GCC -m$TWIDTH " &&
|
||||
CFLAGS_GCC="$CFLAGS_GCC -m$TWIDTH "
|
||||
|
|
Loading…
Reference in New Issue