From: Chen Qi Date: Sun, 9 Oct 2016 02:12:15 +0000 (+0800) Subject: systemd: avoid boot failures for mips64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2FChenQi%2Fbug10250;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: avoid boot failures for mips64 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 --- diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index f800f42e979..db588e73367 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"