summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-09 12:37:07 +0100
committerSam James <sam@gentoo.org>2023-05-09 12:37:21 +0100
commit26e2612b73c0da967c5e7223e53a94ebcb1aa7c4 (patch)
tree1263dc347ab9a0bf5a7ba843a12eb3be81ceeaa4 /eclass
parentapp-forensics/aide: Stabilize 0.18.2 x86, #905980 (diff)
downloadgentoo-26e2612b73c0da967c5e7223e53a94ebcb1aa7c4.tar.gz
gentoo-26e2612b73c0da967c5e7223e53a94ebcb1aa7c4.tar.bz2
gentoo-26e2612b73c0da967c5e7223e53a94ebcb1aa7c4.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 3 insertions, 0 deletions
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