Skip to content

Commit 5fa21f2

Browse files
committed
clang-legacy: Remove runtime-<RUNTIME> override
This is better fixed in recipes if needed now that clang is a core recipe. Signed-off-by: Khem Raj <[email protected]>
1 parent 0c05cd1 commit 5fa21f2

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

classes/clang-legacy.bbclass

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ TC_CXX_RUNTIME:armv5 = "gnu"
3131
#TOOLCHAIN:class-crosssdk = "gcc"
3232
#TOOLCHAIN:class-cross = "gcc"
3333

34-
#OVERRIDES =. "${@['', 'toolchain-${TOOLCHAIN}:']['${TOOLCHAIN}' != '']}"
35-
OVERRIDES =. "${@['', 'runtime-${TC_CXX_RUNTIME}:']['${TC_CXX_RUNTIME}' != '']}"
36-
OVERRIDES[vardepsexclude] += "TC_CXX_RUNTIME"
37-
3834
YOCTO_ALTERNATE_EXE_PATH:toolchain-clang:class-target = "${STAGING_BINDIR}/llvm-config"
3935
YOCTO_ALTERNATE_LIBDIR:toolchain-clang:class-target = "/${BASELIB}"
4036

conf/nonclangable.conf

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -377,17 +377,6 @@ CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-l
377377
# Finds this extra warning with clang20+
378378
CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization"
379379

380-
#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
381-
#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
382-
COMPILER_RT:pn-ruby:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
383-
COMPILER_RT:pn-python3:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
384-
COMPILER_RT:pn-m4:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
385-
COMPILER_RT:pn-cpio:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
386-
COMPILER_RT:pn-openssh:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
387-
COMPILER_RT:pn-webkitgtk:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
388-
COMPILER_RT:pn-wpewebkit:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
389-
COMPILER_RT:pn-python3-numpy:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
390-
COMPILER_RT:pn-mongodb:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"
391380
COMPILER_RT:remove:pn-m4:powerpc = "-rtlib=compiler-rt"
392381
COMPILER_RT:remove:pn-ruby:powerpc = "-rtlib=compiler-rt"
393382
COMPILER_RT:remove:pn-webkitgtk:powerpc = "-rtlib=compiler-rt"
@@ -398,8 +387,6 @@ COMPILER_RT:remove:pn-webkitgtk:armeb = "-rtlib=compiler-rt"
398387
# __lshrti3 is missing in libgcc
399388
COMPILER_RT:pn-qtbase:toolchain-clang:riscv32 = "-rtlib=compiler-rt ${UNWINDLIB}"
400389

401-
LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic"
402-
403390
# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store
404391
LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic"
405392

recipes-support/libunwind/libunwind_%.bbappend

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)