summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-07-17 14:30:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 22:51:37 +0100
commit50ef2da7ca4dcf50ae527f92ae387d4e5277a63d (patch)
tree3497a790e54c8e80cb8ae9c1000aaa1466addd53 /meta/recipes-core
parent744460e9f21122f89dca0f5c7bcd0d95d87a1719 (diff)
downloadpoky-50ef2da7ca4dcf50ae527f92ae387d4e5277a63d.tar.gz
systemd: workaround login failure on qemumips64 when 'pam' is enabled
Append " -fno-tree-switch-conversion -fno-tree-tail-merge" to FULL_OPTIMIZATION to workaround login problem on qemumips64. Otherwise, user cannot login onto the target even username and password are provided. (From OE-Core rev: 35403ba3707c3c8dd94bcc557eef6f7c66696bc5) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_232.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb
index 9c533ea4c8..a59ee74092 100644
--- a/meta/recipes-core/systemd/systemd_232.bb
+++ b/meta/recipes-core/systemd/systemd_232.bb
@@ -159,6 +159,9 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', ''
159# disable problematic GCC 5.2 optimizations [YOCTO #8291] 159# disable problematic GCC 5.2 optimizations [YOCTO #8291]
160FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" 160FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
161 161
162# Avoid login failure on qemumips64 when pam is enabled
163FULL_OPTIMIZATION_append_mips64 = " -fno-tree-switch-conversion -fno-tree-tail-merge"
164
162COMPILER_NM ?= "${HOST_PREFIX}gcc-nm" 165COMPILER_NM ?= "${HOST_PREFIX}gcc-nm"
163COMPILER_AR ?= "${HOST_PREFIX}gcc-ar" 166COMPILER_AR ?= "${HOST_PREFIX}gcc-ar"
164COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib" 167COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib"