aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-01-20 17:09:17 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-01-22 09:50:06 +0800
commit2123a9457649d41670e9c35ad4b77a80064c95ed (patch)
tree334d47250fffc170efcb819927d9d13418de2f9e
parent8084c185c43cb7e7f5e29d31939dfd308f8a0f93 (diff)
downloadopenembedded-core-contrib-ChenQi/systemd-qemuarm64.tar.gz
systemd: work around the boot problem on qemuarm64ChenQi/systemd-qemuarm64
This is a workaround to make qemuarm64 boot for systemd systems. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-core/systemd/systemd_228.bb1
1 files changed, 1 insertions, 0 deletions
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"