summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2013-10-20 00:11:34 +0200
committerMartin Roth <martinroth@google.com>2016-04-14 19:15:21 +0200
commit534c5e113397a61f25c360467ae5956bed04db25 (patch)
treed8433b08da50b95b31b4dab28b9c988936d07aef /util
parent0a20c08d0f59bb6075b4df51858ac7671c97d502 (diff)
downloadcoreboot-534c5e113397a61f25c360467ae5956bed04db25.tar.xz
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)
Diffstat (limited to 'util')
-rwxr-xr-xutil/xcompile/xcompile5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 2b9b8189a9..e1fcb31cc0 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -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 "