commit: 26e2612b73c0da967c5e7223e53a94ebcb1aa7c4 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 9 11:37:07 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 9 11:37:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e2612b
toolchain.eclass: filter-lto too (please use USE=lto instead) Followup to e6dd349ea37663f3e3a6ce1df3fd9f7cf18e20cd. Closes: https://bugs.gentoo.org/906007 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index a99a5cadac1d..ea6ba797036f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1758,6 +1758,9 @@ gcc_do_filter_flags() { append-flags -O2 fi + # Please use USE=lto instead (bug #906007). + filter-lto + # Avoid shooting self in foot filter-flags '-mabi*' -m31 -m32 -m64