summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-07-26 02:14:35 -0700
committerKhem Raj <raj.khem@gmail.com>2023-07-27 08:58:18 -0700
commitc84f10c2d8e18ff08df6a89b3afa6283eb1afa99 (patch)
tree977e932acc8ae5fb64b75048d58d9da96fb38875 /conf/nonclangable.conf
parent0dab6730f933c91a9b80286beb26badc90d6bd3c (diff)
downloadmeta-clang-c84f10c2d8e18ff08df6a89b3afa6283eb1afa99.tar.gz
systemd,cairo,ruby: Do not use --no-warn-rwx-segment with lld
This option is GNU linker specific and lld is not emitting this warning anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/nonclangable.conf')
-rw-r--r--conf/nonclangable.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index e1a7dc7..23aae65 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -316,9 +316,9 @@ COMPILER_RT:pn-qtbase:toolchain-clang:riscv32 = "-rtlib=compiler-rt ${UNWINDLIB}
316LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic" 316LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic"
317LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic" 317LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic"
318# warning: <elfFile> has a LOAD segment with RWX permissions 318# warning: <elfFile> has a LOAD segment with RWX permissions
319LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" 319LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
320LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" 320LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
321LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" 321LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
322 322
323# glibc is built with gcc and hence encodes some libgcc specific builtins which are not found 323# glibc is built with gcc and hence encodes some libgcc specific builtins which are not found
324# when doing static linking with clang using compiler-rt, so use libgcc 324# when doing static linking with clang using compiler-rt, so use libgcc