diff options
author | Keir Fraser <keir@xen.org> | 2013-02-13 17:03:31 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2013-02-13 17:03:31 +0000 |
commit | 511278b4e239df00de7b33f7b42d8d5d7e52221b (patch) | |
tree | af64bd2c3bea21c7216bf35797c09bfad5eac785 /Config.mk | |
parent | d119301b5816b39b5ba722a2f8b301b37e8e34bd (diff) | |
download | xen-511278b4e239df00de7b33f7b42d8d5d7e52221b.tar.gz xen-511278b4e239df00de7b33f7b42d8d5d7e52221b.tar.bz2 xen-511278b4e239df00de7b33f7b42d8d5d7e52221b.zip |
gcc4.8 build fix: Add -Wno-unused-local-typedefs to CFLAGS.
Based on a patch by M A Young <m.a.young@durham.ac.uk>
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |