superiotool: Don't compile with -Werror
authorMathias Krause <mathias.krause@secunet.com>
Wed, 9 Mar 2011 10:37:16 +0000 (11:37 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 14 Sep 2011 05:43:33 +0000 (07:43 +0200)
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>
util/superiotool/Makefile

index 38a4127bb13e2d2466031b8a125f4d1e9a96004f..6f3cfa31b5db3d034a43fd7d875982f5cd20a27e 100644 (file)
@@ -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