From: Ross Burton Date: Tue, 29 Jul 2025 13:46:21 +0000 (+0100) Subject: clang: remove obsolete OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=540b02e0fb168fade2afc1d657463c7e0248ae94;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git clang: remove obsolete OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM This was added by a certain Mr Burton back in 2016[1] to avoid needing to depend on perl-native or python3-native, and use the host perl and python. However, perl is no longer needed and python3-native is depended on because the Python bindings are build, so this is now redundant. [1] meta-clang: 2e003cc ("clang: don't depend on native perl or python") Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/clang/clang_git.bb b/meta/recipes-devtools/clang/clang_git.bb index af5e0067b7..6cb1b57141 100644 --- a/meta/recipes-devtools/clang/clang_git.bb +++ b/meta/recipes-devtools/clang/clang_git.bb @@ -28,8 +28,6 @@ LDFLAGS:append:class-target:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed inherit cmake pkgconfig python3native python3targetconfig multilib_header -OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" - PACKAGECONFIG_CLANG_COMMON = "build-id eh libedit rtti shared-libs libclang-python \ ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'lld', '', d)} \ ${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', 'compiler-rt libcplusplus libomp unwindlib', '', d)} \