mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
gcc: Dropping mips workaround
I've tested without this and the ptest results for mips are the same with and without it so the issue this was fixing in gcc 9 was likely resolved by gcc 11. (From OE-Core rev: 567e199862acb948cb8b3361010a9ec221147c41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -27,10 +27,6 @@ EXTRA_OECONF:class-native = "--enable-targets=all \
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
|
||||
PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
|
||||
# gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target
|
||||
# So remove -O2 and use -Os as workaround
|
||||
SELECTED_OPTIMIZATION:remove:mipsarch = "-O2"
|
||||
SELECTED_OPTIMIZATION:append:mipsarch = " -Os"
|
||||
|
||||
do_install:class-native () {
|
||||
autotools_do_install
|
||||
|
||||
Reference in New Issue
Block a user