From 540b02e0fb168fade2afc1d657463c7e0248ae94 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 29 Jul 2025 14:46:21 +0100 Subject: [PATCH] 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 --- meta/recipes-devtools/clang/clang_git.bb | 2 -- 1 file changed, 2 deletions(-) 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)} \ -- 2.47.2