summaryrefslogtreecommitdiff
path: root/ipxe-no-error-logical-not-parentheses.patch
blob: 92a05628a1ab39bb2f6cfd93596ea2a94fae12a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: xen-4.8.0-testing/tools/firmware/etherboot/patches/ipxe-no-error-logical-not-parentheses.patch
===================================================================
--- /dev/null
+++ xen-4.8.0-testing/tools/firmware/etherboot/patches/ipxe-no-error-logical-not-parentheses.patch
@@ -0,0 +1,11 @@
+--- ipxe/src/Makefile.housekeeping.orig	2015-03-12 12:15:50.054891858 +0000
++++ ipxe/src/Makefile.housekeeping	2015-03-12 12:16:05.978071221 +0000
+@@ -415,7 +415,7 @@
+ # Inhibit -Werror if NO_WERROR is specified on make command line
+ #
+ ifneq ($(NO_WERROR),1)
+-CFLAGS		+= -Werror
++CFLAGS		+= -Werror -Wno-logical-not-parentheses
+ ASFLAGS		+= --fatal-warnings
+ endif
+
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 +1,2 @@
 boot_prompt_option.patch
+ipxe-no-error-logical-not-parentheses.patch