aboutsummaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorMathias Krause <mathias.krause@secunet.com>2011-03-09 11:37:16 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2011-09-14 07:43:33 +0200
commit14b67f716da16bc132f3e564b0c06c2c9c565753 (patch)
tree311a18ac5c0500e93bc62d2e304206abee94300a /util/superiotool
parent9beb5df3c4c35ddefa35742633a7876852065fae (diff)
superiotool: Don't compile with -Werror
Older libpci version have headers using 'long long' which isn't allowed in ANSI C. Since we cannot control the libpci version installed in the system nor in generall have complete control over system headers, simply skip using -Werror in our makefile. Change-Id: Ibc1e57bef033bf4971f4108d078222dcf168d5e3 Signed-off-by: Mathias Krause <mathias.krause@secunet.com> Reviewed-on: http://review.coreboot.org/210 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index 38a4127bb1..6f3cfa31b5 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -29,7 +29,7 @@ PREFIX = /usr/local
SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
-CFLAGS += -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
+CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)
LDFLAGS += -lz