aboutsummaryrefslogtreecommitdiffstats
path: root/community/edk2/disable-werror.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-10-15 17:47:02 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-10-15 17:47:18 +0000
commitefaa69489b5eb0a1778a9ee8f03080fd24c8b240 (patch)
treee8d180b8c390192f61cef15111b9bbf610d430dc /community/edk2/disable-werror.patch
parentab7bdc48174243acc167e9513f53c7de6f58c2e8 (diff)
downloadaports-efaa69489b5eb0a1778a9ee8f03080fd24c8b240.tar.bz2
aports-efaa69489b5eb0a1778a9ee8f03080fd24c8b240.tar.xz
community/edk2: fix build on aarch64
Diffstat (limited to 'community/edk2/disable-werror.patch')
-rw-r--r--community/edk2/disable-werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/edk2/disable-werror.patch b/community/edk2/disable-werror.patch
new file mode 100644
index 0000000000..73f19d4e5c
--- /dev/null
+++ b/community/edk2/disable-werror.patch
@@ -0,0 +1,11 @@
+--- ./BaseTools/Source/C/Makefiles/header.makefile.orig
++++ ./BaseTools/Source/C/Makefiles/header.makefile
+@@ -73,7 +73,7 @@
+ -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g
+ else
+ BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fwrapv \
+--fno-delete-null-pointer-checks -Wall -Werror \
++-fno-delete-null-pointer-checks -Wall \
+ -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict \
+ -Wno-unused-result -nostdlib -g
+ endif