summaryrefslogtreecommitdiff
path: root/kernels/xen/gcc-4.8-typedefs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/xen/gcc-4.8-typedefs.patch')
-rw-r--r--kernels/xen/gcc-4.8-typedefs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernels/xen/gcc-4.8-typedefs.patch b/kernels/xen/gcc-4.8-typedefs.patch
new file mode 100644
index 000000000..6cda7cb80
--- /dev/null
+++ b/kernels/xen/gcc-4.8-typedefs.patch
@@ -0,0 +1,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))