summaryrefslogtreecommitdiff
path: root/ipxe-use-rpm-opt-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ipxe-use-rpm-opt-flags.patch')
-rw-r--r--ipxe-use-rpm-opt-flags.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ipxe-use-rpm-opt-flags.patch b/ipxe-use-rpm-opt-flags.patch
new file mode 100644
index 0000000..a96c5d6
--- /dev/null
+++ b/ipxe-use-rpm-opt-flags.patch
@@ -0,0 +1,26 @@
+References: bsc#969377 - xen does not build with GCC 6
+
+Index: xen-4.8.0-testing/tools/firmware/etherboot/patches/ipxe-use-rpm-opt-flags.patch
+===================================================================
+--- /dev/null
++++ xen-4.8.0-testing/tools/firmware/etherboot/patches/ipxe-use-rpm-opt-flags.patch
+@@ -0,0 +1,11 @@
++--- ipxe/src/Makefile.orig 2016-03-04 15:48:15.000000000 -0700
+++++ ipxe/src/Makefile 2016-03-04 15:48:40.000000000 -0700
++@@ -4,7 +4,7 @@
++ #
++
++ CLEANUP :=
++-CFLAGS :=
+++CFLAGS := $(RPM_OPT_FLAGS) -Wno-error=array-bounds -Wno-nonnull-compare -Wno-unused-const-variable -Wno-misleading-indentation -Wno-shift-negative-value -Wno-implicit-fallthrough -Wno-nonnull
++ ASFLAGS :=
++ LDFLAGS :=
++ MAKEDEPS := Makefile
+Index: xen-4.8.0-testing/tools/firmware/etherboot/patches/series
+===================================================================
+--- xen-4.8.0-testing.orig/tools/firmware/etherboot/patches/series
++++ xen-4.8.0-testing/tools/firmware/etherboot/patches/series
+@@ -1,2 +1,3 @@
+ boot_prompt_option.patch
+ ipxe-no-error-logical-not-parentheses.patch
++ipxe-use-rpm-opt-flags.patch