From: Ross Burton Date: Wed, 1 Jul 2026 16:12:49 +0000 (+0100) Subject: meson: remove obsolete environment unsets X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b5c8fca2fbda1ba38028b8e461b2a72873a815c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git meson: remove obsolete environment unsets 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper b/meta/recipes-devtools/meson/meson/meson-wrapper index 570b550e01..a0c1da2329 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"