diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-12 20:23:07 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-06 22:08:11 -0700 |
| commit | feb39f125e3bc9e95cf2fc8fadbae663c15ce05b (patch) | |
| tree | 165f8e72d106bd9f3e4f2f647c7fd46519770fea | |
| parent | fa1214ff1cdffbef2c8caa570f426dab9f66ebe6 (diff) | |
| download | meta-clang-feb39f125e3bc9e95cf2fc8fadbae663c15ce05b.tar.gz | |
clang-native.bbclass: Delete
This is now available in oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | classes/clang-native.bbclass | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/classes/clang-native.bbclass b/classes/clang-native.bbclass deleted file mode 100644 index 51fafcd..0000000 --- a/classes/clang-native.bbclass +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | # inherit this class if you would like to use clang to compile the native | ||
| 2 | # version of your recipes instead of system compiler ( which is normally gcc ) | ||
| 3 | # on build machines | ||
| 4 | # to use it add | ||
| 5 | # | ||
| 6 | # inherit clang-native | ||
| 7 | # | ||
| 8 | # to the concerned recipe via a bbappend or directly to recipe file | ||
| 9 | # | ||
| 10 | DEPENDS:append:runtime-llvm = " clang-native compiler-rt-native libcxx-native" | ||
| 11 | # Use libcxx headers for native parts | ||
| 12 | CXXFLAGS:append:runtime-llvm = " -stdlib=libc++" | ||
| 13 | BUILD_CXXFLAGS:append:runtime-llvm = " -isysroot=${STAGING_DIR_NATIVE} -stdlib=libc++" | ||
| 14 | # Use libgcc for native parts | ||
| 15 | LDFLAGS:append:runtime-llvm = " -stdlib=libc++ -rtlib=libgcc -unwindlib=libgcc" | ||
| 16 | BUILD_LDFLAGS:append:runtime-llvm = " -stdlib=libc++ -rtlib=libgcc -unwindlib=libgcc" | ||
| 17 | BUILD_CC:runtime-llvm = "${CCACHE}clang -isysroot=${STAGING_DIR_NATIVE}" | ||
| 18 | BUILD_CXX:runtime-llvm = "${CCACHE}clang++ -isysroot=${STAGING_DIR_NATIVE}" | ||
| 19 | BUILD_CPP:runtime-llvm = "${CCACHE}clang -isysroot=${STAGING_DIR_NATIVE} -E" | ||
| 20 | BUILD_CCLD:runtime-llvm = "${CCACHE}clang" | ||
| 21 | BUILD_RANLIB:runtime-llvm = "llvm-ranlib" | ||
| 22 | BUILD_AR:runtime-llvm = "llvm-ar" | ||
| 23 | BUILD_NM:runtime-llvm = "llvm-nm" | ||
