diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-07-17 14:30:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:45 +0100 |
commit | 182e0a290d647bf51ea44b2741eaf4f812d95ad1 (patch) | |
tree | 6e70347408c6e2184c1295662967430b18f9cbad /meta/recipes-core | |
parent | b7e7b5e294f944c27fb1d2be61c0cf38f6c81ba8 (diff) | |
download | poky-182e0a290d647bf51ea44b2741eaf4f812d95ad1.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: 89d53c742d3538744b892237698ffde2c9c60009)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 35403ba3707c3c8dd94bcc557eef6f7c66696bc5)
Hand applied
Signed-off-by: Armin Kuster <akuster808@gmail.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.bb | 3 |
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 e54c723d7f..25fe496417 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb | |||
@@ -161,6 +161,9 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '' | |||
161 | # disable problematic GCC 5.2 optimizations [YOCTO #8291] | 161 | # disable problematic GCC 5.2 optimizations [YOCTO #8291] |
162 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" | 162 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" |
163 | 163 | ||
164 | # Avoid login failure on qemumips64 when pam is enabled | ||
165 | FULL_OPTIMIZATION_append_mips64 = " -fno-tree-switch-conversion -fno-tree-tail-merge" | ||
166 | |||
164 | do_configure_prepend() { | 167 | do_configure_prepend() { |
165 | export NM="${HOST_PREFIX}gcc-nm" | 168 | export NM="${HOST_PREFIX}gcc-nm" |
166 | export AR="${HOST_PREFIX}gcc-ar" | 169 | export AR="${HOST_PREFIX}gcc-ar" |