aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnu-efi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-20 00:52:10 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-20 00:52:10 +0000
commit975371b951da3a622f9fa26413ab19f9f1734bb0 (patch)
tree0468e1bf5e1c07752b1d4bd30410b4dc3ecae225 /main/gnu-efi
parent28af1a276a13207da834f35b392eacd8015605ad (diff)
downloadaports-975371b951da3a622f9fa26413ab19f9f1734bb0.tar.bz2
aports-975371b951da3a622f9fa26413ab19f9f1734bb0.tar.xz
main/gnu-efi: add missing patch
Diffstat (limited to 'main/gnu-efi')
-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