summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-07-01 12:25:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-02 08:13:07 +0100
commit41e7ba16abae9aace26730e5113f57e52477087e (patch)
treee3401151f6f62b450a41172c4b2e2d2b7c633231 /meta/recipes-bsp
parent2f2e8562a04b2a6bcecb7d3587e71e4c90ca897d (diff)
downloadpoky-41e7ba16abae9aace26730e5113f57e52477087e.tar.gz
efivar: ensure that target security flags are not used to build native code
Also set LDFLAGS=BUILD_LDFLAGS when compiling makeguids to ensure that any target compiler flags are not passed to the native compiler. [ YOCTO #13423 ] (From OE-Core rev: f61e0676aabba9e006c32f0e53c69426368cd4f0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/efivar/efivar_37.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-bsp/efivar/efivar_37.bb b/meta/recipes-bsp/efivar/efivar_37.bb
index c4254c70d9..9b95721a4e 100644
--- a/meta/recipes-bsp/efivar/efivar_37.bb
+++ b/meta/recipes-bsp/efivar/efivar_37.bb
@@ -23,7 +23,10 @@ LDFLAGS += "-fuse-ld=bfd"
23 23
24do_compile_prepend() { 24do_compile_prepend() {
25 # Remove when https://github.com/rhboot/efivar/issues/130 is fixed 25 # Remove when https://github.com/rhboot/efivar/issues/130 is fixed
26 oe_runmake CFLAGS="${BUILD_CFLAGS}" -C src makeguids 26 oe_runmake \
27 CFLAGS="${BUILD_CFLAGS}" \
28 LDFLAGS="${BUILD_LDFLAGS}" \
29 -C src makeguids
27} 30}
28 31
29do_install() { 32do_install() {