From 4ab2107799acd729a03e4f9d296d47c7e73f0f33 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Jan 2023 22:07:05 -0800 Subject: 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 --- conf/nonclangable.conf | 3 +++ 1 file changed, 3 insertions(+) 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} LDFLAGS:append:pn-qtwebengine:toolchain-clang:runtime-gnu:x86 = " -latomic" LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic" +# warning: has a LOAD segment with RWX permissions +LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" +LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" # glibc is built with gcc and hence encodes some libgcc specific builtins which are not found # when doing static linking with clang using compiler-rt, so use libgcc -- cgit v1.2.3-54-g00ecf