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 /recipes-core | |
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 'recipes-core')
-rw-r--r-- | recipes-core/systemd/systemd_%.bbappend | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend deleted file mode 100644 index a54d6ee..0000000 --- a/recipes-core/systemd/systemd_%.bbappend +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | # systemd 251.4 started to cause boot issues see | ||
4 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14906 | ||
5 | # As a workaround disable O2 and use Os for now with clang | ||
6 | SELECTED_OPTIMIZATION:append:toolchain-clang = "-Os" | ||
7 | SELECTED_OPTIMIZATION:remove:toolchain-clang = "-O2" | ||