]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd: work around the boot problem on qemuarm64 ChenQi/systemd-qemuarm64
authorChen Qi <Qi.Chen@windriver.com>
Wed, 20 Jan 2016 09:09:17 +0000 (17:09 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Fri, 22 Jan 2016 01:50:06 +0000 (09:50 +0800)
This is a workaround to make qemuarm64 boot for systemd systems.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/systemd/systemd_228.bb

index aa2e846b696a0bd5461a1f31aee8261f08f4f504..3bc59278f62e38f797403f80ae4782a89f86818f 100644 (file)
@@ -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"