diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-10-27 17:43:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 22:24:04 +0000 |
commit | cd803651751fec224c78509743e10aea79a941de (patch) | |
tree | c05c7bf382851bfe59a4e0ad88c4feab477e7970 /meta/recipes-core/systemd | |
parent | 6920e208fcebfea58103b8ac08a7b24a0173fa79 (diff) | |
download | poky-cd803651751fec224c78509743e10aea79a941de.tar.gz |
systemd: remove useless options for mips4
Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".
Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.
(From OE-Core rev: 713761d23df24ad1b52e08bd2d2dc688393bef5b)
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/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd_234.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb index 36fd3f8ff4..971226ff7c 100644 --- a/meta/recipes-core/systemd/systemd_234.bb +++ b/meta/recipes-core/systemd/systemd_234.bb | |||
@@ -158,9 +158,6 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '' | |||
158 | # disable problematic GCC 5.2 optimizations [YOCTO #8291] | 158 | # disable problematic GCC 5.2 optimizations [YOCTO #8291] |
159 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" | 159 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" |
160 | 160 | ||
161 | # Avoid login failure on qemumips64 when pam is enabled | ||
162 | FULL_OPTIMIZATION_append_mips64 = " -fno-tree-switch-conversion -fno-tree-tail-merge" | ||
163 | |||
164 | COMPILER_NM ?= "${HOST_PREFIX}gcc-nm" | 161 | COMPILER_NM ?= "${HOST_PREFIX}gcc-nm" |
165 | COMPILER_AR ?= "${HOST_PREFIX}gcc-ar" | 162 | COMPILER_AR ?= "${HOST_PREFIX}gcc-ar" |
166 | COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib" | 163 | COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib" |