From 6eef6ed66097e404f826c038ff213f4dba461e1a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Nov 2023 19:18:49 -0800 Subject: 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 --- classes/clang.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/clang.bbclass') 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): return ret return "" -BASE_DEFAULT_DEPS:toolchain-clang:class-target = "${@clang_base_deps(d)}" +BASE_DEFAULT_DEPS:append:class-target:toolchain-clang:class-target = " ${@clang_base_deps(d)}" BASE_DEFAULT_DEPS:append:class-native:toolchain-clang:runtime-llvm = " libcxx-native compiler-rt-native" BASE_DEFAULT_DEPS:append:class-nativesdk:toolchain-clang:runtime-llvm = " clang-native nativesdk-libcxx nativesdk-compiler-rt" -- cgit v1.2.3-54-g00ecf