[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.2] gcc4.8 build fix: Add -Wno-unused-local-typedefs to CFLAGS.



commit 29fcd1e7b6d991de6781dc88d4cfcdbb9132f8bb
Author:     Keir Fraser <keir@xxxxxxx>
AuthorDate: Fri Feb 22 13:41:09 2013 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Feb 22 13:41:09 2013 +0100

    gcc4.8 build fix: Add -Wno-unused-local-typedefs to CFLAGS.
    
    Based on a patch by M A Young <m.a.young@xxxxxxxxxxxx>
    
    Signed-off-by: Keir Fraser <keir@xxxxxxx>
    master changeset: 511278b4e239df00de7b33f7b42d8d5d7e52221b
    master date: 2013-02-13 17:03:31 +0000
---
 Config.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Config.mk b/Config.mk
index 8b452a2..ead4da2 100644
--- a/Config.mk
+++ b/Config.mk
@@ -166,6 +166,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))
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.2

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.