diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-02 19:22:11 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-03 09:25:31 -0800 |
commit | 6a6e3a21b014d30a98509b6b0a3d1c01bcd8a046 (patch) | |
tree | 3072593894abe23b168763a96c38dad7af1d58c0 /conf | |
parent | 4ab2107799acd729a03e4f9d296d47c7e73f0f33 (diff) | |
download | meta-clang-6a6e3a21b014d30a98509b6b0a3d1c01bcd8a046.tar.gz |
systemd: Add -Wl,--no-warn-rwx-segment with clang
Remove the Os workaround, this is no longer needed with systemd 252+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/nonclangable.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index bab6a69..6442ead 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -270,6 +270,7 @@ LDFLAGS:append:pn-qemu:toolchain-clang:x86 = " -latomic" | |||
270 | # warning: <elfFile> has a LOAD segment with RWX permissions | 270 | # warning: <elfFile> has a LOAD segment with RWX permissions |
271 | LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" | 271 | LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" |
272 | LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" | 272 | LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" |
273 | LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = " -Wl,--no-warn-rwx-segment" | ||
273 | 274 | ||
274 | # glibc is built with gcc and hence encodes some libgcc specific builtins which are not found | 275 | # glibc is built with gcc and hence encodes some libgcc specific builtins which are not found |
275 | # when doing static linking with clang using compiler-rt, so use libgcc | 276 | # when doing static linking with clang using compiler-rt, so use libgcc |