summaryrefslogtreecommitdiff
path: root/kernels/xen/gcc-4.8-typedefs.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-28 20:08:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-28 20:08:15 -0300
commit3b407d18ab4737a7cb3d260659c97e5a2f897cb8 (patch)
tree19dfab14695019b3885287c10eeaf924bbb2790c /kernels/xen/gcc-4.8-typedefs.patch
parent8e9712c09cda582e1e8af3336eec882c0f2cf17d (diff)
downloadabslibre-3b407d18ab4737a7cb3d260659c97e5a2f897cb8.tar.gz
abslibre-3b407d18ab4737a7cb3d260659c97e5a2f897cb8.tar.bz2
abslibre-3b407d18ab4737a7cb3d260659c97e5a2f897cb8.zip
xen-4.2.1-6: add some features and fixes
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))