summaryrefslogtreecommitdiff
path: root/kernels/xen/gcc-4.8-typedefs.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-29 00:34:23 -0700
committerroot <root@rshg054.dnsready.net>2013-04-29 00:34:23 -0700
commitbab69e0f720c6f189c4486b7b945079be23f0a4b (patch)
tree381ff8864fb51d2d7510c6cb1dc2bc8972b8de47 /kernels/xen/gcc-4.8-typedefs.patch
parentf38edbff3878008c8b2ae1ca8a496c349763017b (diff)
Mon Apr 29 00:34:20 PDT 2013
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))