We no longer need to remove environment variables because their behaviour
was fixed in meson 0.54.0[1].  The corresponding cleanup was done in
meson.bbclass some time ago[2] but was not done here.

[1] 
https://mesonbuild.com/Release-notes-for-0-54-0.html#environment-variables-with-cross-builds
[2] oe-core 20a5af2583d ("meson: use native-file instead of environment 
variables")

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-devtools/meson/meson/meson-wrapper | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper 
b/meta/recipes-devtools/meson/meson/meson-wrapper
index 570b550e019..a0c1da23299 100755
--- a/meta/recipes-devtools/meson/meson/meson-wrapper
+++ b/meta/recipes-devtools/meson/meson/meson-wrapper
@@ -10,11 +10,6 @@ if [ -z "$SSL_CERT_DIR" ]; then
     export SSL_CERT_DIR="$OECORE_NATIVE_SYSROOT/etc/ssl/certs/"
 fi
 
-# If these are set to a cross-compile path, meson will get confused and try to
-# use them as native tools. Unset them to prevent this, as all the 
cross-compile
-# config is already in meson.cross.
-unset CC CXX CPP LD AR NM STRIP
-
 case "$1" in
 
setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help)
     MESON_CMD="$1"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239989): 
https://lists.openembedded.org/g/openembedded-core/message/239989
Mute This Topic: https://lists.openembedded.org/mt/120068361/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to