diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-04-14 17:16:03 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-05-05 10:24:26 -0700 |
| commit | 3d5f6b99c5700f9a4eec04165a4267f097d7abcd (patch) | |
| tree | 208d97c90d197e8311b3191fe81d707a0eb12bda | |
| parent | a05d3030c9bcb7156218041de3f7cb3433f88344 (diff) | |
| download | meta-clang-3d5f6b99c5700f9a4eec04165a4267f097d7abcd.tar.gz | |
clang: Use llvm-config wrapper for nativesdk recipes
helps with nativesdk-mesa compilation since it gets all flags wrong otherwise
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | recipes-devtools/clang/clang_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index e890c8f..6e2817c 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
| @@ -473,6 +473,7 @@ LIBCPLUSPLUS:class-nativesdk:toolchain-clang:runtime-llvm = "-stdlib=libstdc++" | |||
| 473 | SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}" | 473 | SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}" |
| 474 | 474 | ||
| 475 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " clang_sysroot_preprocess" | 475 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " clang_sysroot_preprocess" |
| 476 | SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " clang_sysroot_preprocess" | ||
| 476 | 477 | ||
| 477 | clang_sysroot_preprocess() { | 478 | clang_sysroot_preprocess() { |
| 478 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 479 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
