diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-07-29 14:46:21 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-04 18:04:03 +0100 |
| commit | 24540125e3a99bc6917e49fcb3eb9825d3209941 (patch) | |
| tree | 576f2683a172d89752b8376e5429f44c981f98d7 | |
| parent | aa1c6f7519d6eca859b2930f8954ad737399bd6c (diff) | |
| download | poky-24540125e3a99bc6917e49fcb3eb9825d3209941.tar.gz | |
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")
(From OE-Core rev: 540b02e0fb168fade2afc1d657463c7e0248ae94)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/clang/clang_git.bb | 2 |
1 files changed, 0 insertions, 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 | |||
| 28 | 28 | ||
| 29 | inherit cmake pkgconfig python3native python3targetconfig multilib_header | 29 | inherit cmake pkgconfig python3native python3targetconfig multilib_header |
| 30 | 30 | ||
| 31 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | ||
| 32 | |||
| 33 | PACKAGECONFIG_CLANG_COMMON = "build-id eh libedit rtti shared-libs libclang-python \ | 31 | PACKAGECONFIG_CLANG_COMMON = "build-id eh libedit rtti shared-libs libclang-python \ |
| 34 | ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'lld', '', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'lld', '', d)} \ |
| 35 | ${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', 'compiler-rt libcplusplus libomp unwindlib', '', d)} \ | 33 | ${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', 'compiler-rt libcplusplus libomp unwindlib', '', d)} \ |
