]> xenbits.xensource.com Git - xen.git/commitdiff
gcc4.8 build fix: Add -Wno-unused-local-typedefs to CFLAGS.
authorKeir Fraser <keir@xen.org>
Wed, 13 Feb 2013 17:03:31 +0000 (17:03 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 13 Feb 2013 17:03:31 +0000 (17:03 +0000)
Based on a patch by M A Young <m.a.young@durham.ac.uk>

Signed-off-by: Keir Fraser <keir@xen.org>
Config.mk

index 64541c8249033a00793c6cfffce982fc2aa44456..21274ebd770a09dff2e45bffa1871e36c657e7be 100644 (file)
--- a/Config.mk
+++ b/Config.mk
@@ -172,6 +172,7 @@ CFLAGS-$(clang) += -Wno-parentheses -Wno-format -Wno-unused-value
 $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement)
 $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)
 $(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable)
+$(call cc-option-add,CFLAGS,CC,-Wno-unused-local-typedefs)
 
 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))