commit: e7e43ef530436c353b5cfcf1e4ca24b60369d9ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 4 07:26:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 4 07:27:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e43ef5
toolchain.eclass: drop -fno-harden-control-flow-redundancy append
This confuses things if e.g. using GDC from older GCC. Not worth it given
I'd only added it for a personal experiment.
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index a60024c134c3..7aa0f5a170f8 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1661,9 +1661,6 @@ gcc_do_filter_flags() {
# New in GCC 14.
filter-flags -Walloc-size
- else
- # Makes things painfully slow and no real benefit for the
compiler.
- append-flags $(test-flags-CC
-fno-harden-control-flow-redundancy)
fi
# Please use USE=lto instead (bug #906007).