[oe-commits] [openembedded-core] 10/14: meson.bbclass: export STRIP=${BUILD_STRIP}

git at git.openembedded.org git at git.openembedded.org
Sat Jul 20 11:06:12 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 8d1557356d2c7d94eeef2a9b61d3c9622e337a9e
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Jul 19 23:58:41 2019 +0100

    meson.bbclass: export STRIP=${BUILD_STRIP}
    
    In Meson the environment variables are always the native tools, so export
    STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning:
    
    WARNING: Env var STRIP seems to point to the cross compiler.
    This is probably wrong, it should always point to the native compiler.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/meson.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 70b3653..626b0e7 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -130,6 +130,7 @@ override_native_tools() {
     export CXX="${BUILD_CXX}"
     export LD="${BUILD_LD}"
     export AR="${BUILD_AR}"
+    export STRIP="${BUILD_STRIP}"
     # These contain *target* flags but will be used as *native* flags.  The
     # correct native flags will be passed via -Dc_args and so on, unset them so
     # they don't interfere with tools invoked by Meson (such as g-ir-scanner)

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


More information about the Openembedded-commits mailing list