aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-10-09 10:12:15 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-10-09 17:22:04 +0800
commite7f6b2d54c90833a8c6782a95283b8849438b3a9 (patch)
treed11cbf5640603bf2920a71c531db183b2a5e443a
parent747f59f5103995654f2b10a52d1dfd2dd4ad1a0e (diff)
downloadopenembedded-core-contrib-ChenQi/bug10250.tar.gz
openembedded-core-contrib-ChenQi/bug10250.tar.bz2
openembedded-core-contrib-ChenQi/bug10250.zip
systemd: avoid boot failures for mips64ChenQi/bug10250
If we start a systemd based qemumips64 target with 'pam' enabled in DISTRO_FEATURES, we could not login in successfully. After you provide username and password to the login prompt, the login prompt just comes up again. Besides, there are other boot failures. Append '-O0' flag for mips64 target as a workaround to this problem. [YOCTO #10250] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-core/systemd/systemd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc
index f800f42e97..db588e7336 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -23,3 +23,4 @@ PV = "230+git${SRCPV}"
S = "${WORKDIR}/git"
LDFLAGS_append_libc-uclibc = " -lrt -lssp_nonshared -lssp "
+CFLAGS_append_mips64 = " -O0"