summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-03-29 22:19:15 -0700
committerKhem Raj <raj.khem@gmail.com>2023-03-30 00:09:52 -0700
commit16da933e095bfffda5b9a12dc070ad9de616f976 (patch)
treec94853eb957f4ec29c8aef7c5bb80b5df9f95326
parentea526f04c7643622336e1a99f47d221eaa6055eb (diff)
downloadmeta-clang-16da933e095bfffda5b9a12dc070ad9de616f976.tar.gz
castxml: Fix nativesdk build
There is no need to enforce clang for nativesdk here let it use defaults. Fixes https://github.com/kraj/meta-clang/issues/686 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/castxml/castxml_0.6.1.bb13
1 files changed, 0 insertions, 13 deletions
diff --git a/recipes-devtools/castxml/castxml_0.6.1.bb b/recipes-devtools/castxml/castxml_0.6.1.bb
index 50f8a9f..5322b96 100644
--- a/recipes-devtools/castxml/castxml_0.6.1.bb
+++ b/recipes-devtools/castxml/castxml_0.6.1.bb
@@ -9,19 +9,6 @@ SRCREV = "f70f9d3f52eb6acce7df409f1df7236d36a2e320"
9S = "${WORKDIR}/git" 9S = "${WORKDIR}/git"
10 10
11DEPENDS = "clang" 11DEPENDS = "clang"
12
13# Match clang's idea of what TOOLCHAIN should be.
14TOOLCHAIN = "clang"
15TOOLCHAIN:class-native = "gcc"
16TOOLCHAIN:class-nativesdk = "clang"
17
18BUILD_CC:class-nativesdk = "clang"
19BUILD_CXX:class-nativesdk = "clang++"
20BUILD_AR:class-nativesdk = "llvm-ar"
21BUILD_RANLIB:class-nativesdk = "llvm-ranlib"
22BUILD_NM:class-nativesdk = "llvm-nm"
23LDFLAGS:append:class-nativesdk = " -fuse-ld=gold"
24
25inherit cmake cmake-native pkgconfig python3native 12inherit cmake cmake-native pkgconfig python3native
26 13
27BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"