summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-02 22:07:05 -0800
committerKhem Raj <raj.khem@gmail.com>2023-01-03 09:25:31 -0800
commit4ab2107799acd729a03e4f9d296d47c7e73f0f33 (patch)
treef674320a006117b24ffce1d1f6cb9ecf14d5e584 /conf
parent9f5b16ae195fa7b6f4ec0ca4e1d87ab3bcc9d7e4 (diff)
downloadmeta-clang-4ab2107799acd729a03e4f9d296d47c7e73f0f33.tar.gz
ruby,cairo: Add -Wl,--no-warn-rwx-segment with clang
This helps with configure tests which treat this warning as error otherwise Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 87a7d9e..bab6a69 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -267,6 +267,9 @@ COMPILER_RT:pn-qtbase:toolchain-clang:riscv32 = "-rtlib=compiler-rt ${UNWINDLIB}
267 267
268LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic" 268LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic"
269LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic" 269LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic"
270# warning: <elfFile> has a LOAD segment with RWX permissions
271LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment"
272LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment"
270 273
271# glibc is built with gcc and hence encodes some libgcc specific builtins which are not found 274# glibc is built with gcc and hence encodes some libgcc specific builtins which are not found
272# when doing static linking with clang using compiler-rt, so use libgcc 275# when doing static linking with clang using compiler-rt, so use libgcc