diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-07-15 15:12:39 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-16 08:51:14 -0700 |
commit | b2139ae4b027cb014d0137de0b46e9197a10a4db (patch) | |
tree | 2d5ee3a413d673c540615facf2716280601be689 /classes/clang-legacy.bbclass | |
parent | e2fadd5d35c8705e29b26c3f272ee7e9d099ec61 (diff) | |
download | meta-clang-master.tar.gz |
options should be in sync or else clang will not link the binaries
| x86_64-yoesdk-linux-clang: error: --rtlib=libgcc requires --unwindlib=libgcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/clang-legacy.bbclass')
-rw-r--r-- | classes/clang-legacy.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/clang-legacy.bbclass b/classes/clang-legacy.bbclass index dbd600f..5f7760d 100644 --- a/classes/clang-legacy.bbclass +++ b/classes/clang-legacy.bbclass | |||
@@ -20,7 +20,7 @@ LIBCPLUSPLUS ??= "" | |||
20 | LIBCPLUSPLUS:armv5 = "-stdlib=libstdc++" | 20 | LIBCPLUSPLUS:armv5 = "-stdlib=libstdc++" |
21 | 21 | ||
22 | CXXFLAGS:append:toolchain-clang = " ${LIBCPLUSPLUS}" | 22 | CXXFLAGS:append:toolchain-clang = " ${LIBCPLUSPLUS}" |
23 | LDFLAGS:append:toolchain-clang = " ${COMPILER_RT} ${LIBCPLUSPLUS}" | 23 | LDFLAGS:append:toolchain-clang = " ${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}" |
24 | 24 | ||
25 | # Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes | 25 | # Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes |
26 | TUNE_CCARGS:remove:toolchain-clang = "\ | 26 | TUNE_CCARGS:remove:toolchain-clang = "\ |