diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-11-11 19:18:49 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-12 14:59:28 -0800 |
commit | 6eef6ed66097e404f826c038ff213f4dba461e1a (patch) | |
tree | 8c12839c34feebbe29d2e8938ed3c1c9fa5384fa /classes | |
parent | 5170ec9cdfe215fcef146fa9142521bfad1d7d6c (diff) | |
download | meta-clang-6eef6ed66097e404f826c038ff213f4dba461e1a.tar.gz |
clang.bbclass: Stage along with gcc toolchain
So far when using toolchain = clang would punt gcc from native-sysroot
but its beneficial to keep both compilers since they can co-exist its
not a big problem to have both in sysroot. This helps in debugging
issues as well.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/clang.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index b8b5f94..0d4a265 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -123,7 +123,7 @@ def clang_base_deps(d): | |||
123 | return ret | 123 | return ret |
124 | return "" | 124 | return "" |
125 | 125 | ||
126 | BASE_DEFAULT_DEPS:toolchain-clang:class-target = "${@clang_base_deps(d)}" | 126 | BASE_DEFAULT_DEPS:append:class-target:toolchain-clang:class-target = " ${@clang_base_deps(d)}" |
127 | BASE_DEFAULT_DEPS:append:class-native:toolchain-clang:runtime-llvm = " libcxx-native compiler-rt-native" | 127 | BASE_DEFAULT_DEPS:append:class-native:toolchain-clang:runtime-llvm = " libcxx-native compiler-rt-native" |
128 | BASE_DEFAULT_DEPS:append:class-nativesdk:toolchain-clang:runtime-llvm = " clang-native nativesdk-libcxx nativesdk-compiler-rt" | 128 | BASE_DEFAULT_DEPS:append:class-nativesdk:toolchain-clang:runtime-llvm = " clang-native nativesdk-libcxx nativesdk-compiler-rt" |
129 | 129 | ||