diff options
-rw-r--r-- | recipes-core/systemd/systemd_%.bbappend | 7 |
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 @@ | |||
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" | ||