[oe-commits] [openembedded-core] 11/12: efivar: ensure that target security flags are not used to build native code

git at git.openembedded.org git at git.openembedded.org
Mon Jul 1 12:53:19 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 87fbfaf06c688e924c6f5c24dec468ae538a8f50
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jul 1 12:25:19 2019 +0100

    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 ]
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-bsp/efivar/efivar_37.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/efivar/efivar_37.bb b/meta/recipes-bsp/efivar/efivar_37.bb
index c4254c7..9b95721 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"
 do_compile_prepend() {
     # Remove when https://github.com/rhboot/efivar/issues/130 is fixed
-    oe_runmake CFLAGS="${BUILD_CFLAGS}" -C src makeguids
+    oe_runmake \
+        CFLAGS="${BUILD_CFLAGS}" \
+        -C src makeguids
 do_install() {

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list