summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/efivar/efivar/no-werror.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-06-12 21:35:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-14 08:56:46 +0100
commit53fe0133432f62024850e87456292b044d1280ee (patch)
tree7fd0f3af738923d71e2252d2eaf96dc9579059bc /meta/recipes-bsp/efivar/efivar/no-werror.patch
parent112deafd1c144d770b6ec0953911f2adc1cb30dd (diff)
downloadopenembedded-core-contrib-53fe0133432f62024850e87456292b044d1280ee.tar.gz
efivar: add
This was in meta-oe but EFI is sufficiently wide spread now that we need it in core. The recipe is based on the one in meta-oe but with several updates. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/efivar/efivar/no-werror.patch')
-rw-r--r--meta/recipes-bsp/efivar/efivar/no-werror.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-bsp/efivar/efivar/no-werror.patch b/meta/recipes-bsp/efivar/efivar/no-werror.patch
new file mode 100644
index 0000000000..50a0b1023a
--- /dev/null
+++ b/meta/recipes-bsp/efivar/efivar/no-werror.patch
@@ -0,0 +1,18 @@
+Don't use -Werror because newer compilers introduce newer warnings.
+
+Upstream-Status: Inappropriate [https://github.com/rhboot/efivar/issues/131]
+Signed-off-by: Ross Burton <ross.burton@intel.com>
+
+diff --git a/gcc.specs b/gcc.specs
+index 45d43d1..1baf11a 100644
+--- a/gcc.specs
++++ b/gcc.specs
+@@ -2,7 +2,7 @@
+ + -D_GNU_SOURCE
+
+ *efivar_cpp_options:
+- -Werror -Wall -std=gnu11 -Wextra
++ -Wall -std=gnu11 -Wextra
+
+ *cpp_options:
+ + %(efivar_cpp_options)