summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-07-19 23:58:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-22 17:31:04 +0100
commit24015adec8c41250d3444b9fe5e75cbdab51b534 (patch)
tree1fe5b16a17f53e9789cac61f9e4411bb7f4f1091 /meta
parentc68d44cd0ce3d1f886efd3eec56b2f832a585e25 (diff)
downloadpoky-24015adec8c41250d3444b9fe5e75cbdab51b534.tar.gz
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. (From OE-Core rev: 8d1557356d2c7d94eeef2a9b61d3c9622e337a9e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/meson.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 70b3653738..626b0e789b 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -130,6 +130,7 @@ override_native_tools() {
130 export CXX="${BUILD_CXX}" 130 export CXX="${BUILD_CXX}"
131 export LD="${BUILD_LD}" 131 export LD="${BUILD_LD}"
132 export AR="${BUILD_AR}" 132 export AR="${BUILD_AR}"
133 export STRIP="${BUILD_STRIP}"
133 # These contain *target* flags but will be used as *native* flags. The 134 # These contain *target* flags but will be used as *native* flags. The
134 # correct native flags will be passed via -Dc_args and so on, unset them so 135 # correct native flags will be passed via -Dc_args and so on, unset them so
135 # they don't interfere with tools invoked by Meson (such as g-ir-scanner) 136 # they don't interfere with tools invoked by Meson (such as g-ir-scanner)