summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-core/systemd/systemd_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
new file mode 100644
index 0000000..a54d6ee
--- /dev/null
+++ b/recipes-core/systemd/systemd_%.bbappend
@@ -0,0 +1,7 @@
1FILESEXTRAPATHS: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
6SELECTED_OPTIMIZATION:append:toolchain-clang = "-Os"
7SELECTED_OPTIMIZATION:remove:toolchain-clang = "-O2"