diff options
Diffstat (limited to 'meta/recipes-bsp/gnu-efi/gnu-efi/no-werror.patch')
-rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi/no-werror.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi/no-werror.patch b/meta/recipes-bsp/gnu-efi/gnu-efi/no-werror.patch new file mode 100644 index 0000000000..db2bcf70b7 --- /dev/null +++ b/meta/recipes-bsp/gnu-efi/gnu-efi/no-werror.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Do not treat warnings as errors | ||
2 | |||
3 | There are additional warnings found with musl which are | ||
4 | treated as errors and fails the build, we have more combinations | ||
5 | then upstream supports to handle | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | Upstream-Status: Inappropriate [OE specific] | ||
9 | --- a/Make.defaults | ||
10 | +++ b/Make.defaults | ||
11 | @@ -187,7 +187,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wex | ||
12 | -funsigned-char -fshort-wchar -fno-strict-aliasing \ | ||
13 | -ffreestanding -fno-stack-protector | ||
14 | else | ||
15 | -CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \ | ||
16 | +CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign \ | ||
17 | -funsigned-char -fshort-wchar -fno-strict-aliasing \ | ||
18 | -ffreestanding -fno-stack-protector -fno-stack-check \ | ||
19 | -fno-stack-check \ | ||