diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-03-29 22:19:15 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-30 00:09:52 -0700 |
commit | 16da933e095bfffda5b9a12dc070ad9de616f976 (patch) | |
tree | c94853eb957f4ec29c8aef7c5bb80b5df9f95326 | |
parent | ea526f04c7643622336e1a99f47d221eaa6055eb (diff) | |
download | meta-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.bb | 13 |
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" | |||
9 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
10 | 10 | ||
11 | DEPENDS = "clang" | 11 | DEPENDS = "clang" |
12 | |||
13 | # Match clang's idea of what TOOLCHAIN should be. | ||
14 | TOOLCHAIN = "clang" | ||
15 | TOOLCHAIN:class-native = "gcc" | ||
16 | TOOLCHAIN:class-nativesdk = "clang" | ||
17 | |||
18 | BUILD_CC:class-nativesdk = "clang" | ||
19 | BUILD_CXX:class-nativesdk = "clang++" | ||
20 | BUILD_AR:class-nativesdk = "llvm-ar" | ||
21 | BUILD_RANLIB:class-nativesdk = "llvm-ranlib" | ||
22 | BUILD_NM:class-nativesdk = "llvm-nm" | ||
23 | LDFLAGS:append:class-nativesdk = " -fuse-ld=gold" | ||
24 | |||
25 | inherit cmake cmake-native pkgconfig python3native | 12 | inherit cmake cmake-native pkgconfig python3native |
26 | 13 | ||
27 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |