]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd: avoid boot failures for mips64 ChenQi/bug10250
authorChen Qi <Qi.Chen@windriver.com>
Sun, 9 Oct 2016 02:12:15 +0000 (10:12 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Sun, 9 Oct 2016 09:22:04 +0000 (17:22 +0800)
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>
meta/recipes-core/systemd/systemd.inc

index f800f42e979e32027bdd7c6e4dee2e5831258830..db588e73367055a515947b4a0bf485350aa92b6a 100644 (file)
@@ -23,3 +23,4 @@ PV = "230+git${SRCPV}"
 S = "${WORKDIR}/git"
 
 LDFLAGS_append_libc-uclibc = " -lrt -lssp_nonshared -lssp "
+CFLAGS_append_mips64 = " -O0"