From 2123a9457649d41670e9c35ad4b77a80064c95ed Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 20 Jan 2016 17:09:17 +0800 Subject: systemd: work around the boot problem on qemuarm64 This is a workaround to make qemuarm64 boot for systemd systems. Signed-off-by: Chen Qi --- meta/recipes-core/systemd/systemd_228.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb index aa2e846b69..3bc59278f6 100644 --- a/meta/recipes-core/systemd/systemd_228.bb +++ b/meta/recipes-core/systemd/systemd_228.bb @@ -133,6 +133,7 @@ EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname --disable-sysusers" # per the systemd README, define VALGRIND=1 to run under valgrind CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '', d)}" +CFLAGS_append_qemuarm64 = " -O1" # disable problematic GCC 5.2 optimizations [YOCTO #8291] FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" -- cgit 1.2.3-korg