From: Chen Qi Date: Wed, 20 Jan 2016 09:09:17 +0000 (+0800) Subject: systemd: work around the boot problem on qemuarm64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2FChenQi%2Fsystemd-qemuarm64;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: work around the boot problem on qemuarm64 This is a workaround to make qemuarm64 boot for systemd systems. Signed-off-by: Chen Qi --- diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb index aa2e846b696..3bc59278f62 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"