summaryrefslogtreecommitdiff
path: root/kernels/xen/gcc-4.8-typedefs.patch
blob: 6cda7cb804557981339455887f9b2386373d4f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/Config.mk	2012-12-17 09:59:58.000000000 -0500
+++ b/Config.mk	2013-04-12 17:32:44.673277553 -0400
@@ -166,6 +166,9 @@
 $(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)
+$(call cc-option-add,CFLAGS,CC,-Wno-sizeof-pointer-memaccess)
+$(call cc-option-add,CFLAGS,CC,-Wformat)
 
 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))