aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gnu-efi/no-werror.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/gnu-efi/no-werror.patch b/main/gnu-efi/no-werror.patch
new file mode 100644
index 0000000000..418842e137
--- /dev/null
+++ b/main/gnu-efi/no-werror.patch
@@ -0,0 +1,16 @@
+--- ./Make.defaults.orig
++++ ./Make.defaults
+@@ -140,11 +140,11 @@
+ -I$(TOPDIR)/inc/protocol
+
+ ifeq (FreeBSD, $(findstring FreeBSD, $(OS)))
+-CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra -Werror \
++CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra \
+ -fshort-wchar -fno-strict-aliasing \
+ -ffreestanding -fno-stack-protector
+ else
+-CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra -Werror \
++CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra \
+ -fshort-wchar -fno-strict-aliasing \
+ -fno-merge-constants -ffreestanding -fno-stack-protector \
+ -fno-stack-check