diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-10-15 17:47:02 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-10-15 17:47:18 +0000 |
commit | efaa69489b5eb0a1778a9ee8f03080fd24c8b240 (patch) | |
tree | e8d180b8c390192f61cef15111b9bbf610d430dc /community/edk2/disable-werror.patch | |
parent | ab7bdc48174243acc167e9513f53c7de6f58c2e8 (diff) | |
download | aports-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.patch | 11 |
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
|