diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-11-17 20:48:00 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-18 15:34:53 -0800 |
commit | f331ea3283c9c06814cd9ca549345f27bdcebc3a (patch) | |
tree | bbab6272904258ef8bed74dbd380107c3bf4481a | |
parent | c17278ad7bbe91be0d1aa34da069d73aeafd60af (diff) | |
download | meta-clang-f331ea3283c9c06814cd9ca549345f27bdcebc3a.tar.gz |
m4,ruby: Set COMPILER_RT instead of playing with LDFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 428eacf..8282782 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -211,8 +211,9 @@ TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as" | |||
211 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' | 211 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' |
212 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) | 212 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) |
213 | LDFLAGS_append_pn-ruby_toolchain-clang = "${@bb.utils.contains('COMPILER_RT', '--rtlib=compiler-rt', ' -rtlib=compiler-rt', '', d)}" | 213 | LDFLAGS_append_pn-ruby_toolchain-clang = "${@bb.utils.contains('COMPILER_RT', '--rtlib=compiler-rt', ' -rtlib=compiler-rt', '', d)}" |
214 | LDFLAGS_append_pn-m4_toolchain-clang = "${@bb.utils.contains('COMPILER_RT', '--rtlib=compiler-rt', ' -rtlib=compiler-rt', '', d)}" | 214 | COMPILER_RT_pn-ruby_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" |
215 | LDFLAGS_remove_pn-m4_powerpc = "-rtlib=compiler-rt" | 215 | COMPILER_RT_pn-m4_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" |
216 | COMPILER_RT_remove_pn-m4_powerpc = "--rtlib=compiler-rt" | ||
216 | 217 | ||
217 | LDFLAGS_append_pn-gnutls_toolchain-clang_riscv64 = " -latomic" | 218 | LDFLAGS_append_pn-gnutls_toolchain-clang_riscv64 = " -latomic" |
218 | LDFLAGS_append_pn-harfbuzz_toolchain-clang_riscv64 = " -latomic" | 219 | LDFLAGS_append_pn-harfbuzz_toolchain-clang_riscv64 = " -latomic" |