summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-27 03:40:27 +0100
committerSam James <sam@gentoo.org>2023-10-27 03:53:02 +0100
commit5cce2f10248df5c5f49efb4569ec7ff85b9e2879 (patch)
tree07429fc59c04317af69b8c7559c89aee4fc75a3f /eclass
parentdev-python/griffe: Bump to 0.36.9 (diff)
downloadgentoo-5cce2f10248df5c5f49efb4569ec7ff85b9e2879.tar.gz
gentoo-5cce2f10248df5c5f49efb4569ec7ff85b9e2879.tar.bz2
gentoo-5cce2f10248df5c5f49efb4569ec7ff85b9e2879.zip
toolchain.eclass: add -fno-harden-control-flow-redundancy to old-compiler filter too
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4fd884f5f0bc..b2d5a62165a6 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1539,9 +1539,9 @@ gcc_do_filter_flags() {
if ver_test -lt 13.6 ; then
# These aren't supported by the just-built compiler either.
filter-flags -fharden-compares -fharden-conditional-branches \
- -fharden-control-flow-redundancy -fhardcfr-skip-leaf \
- -fhardcfr-check-exceptions -fhardcfr-check-returning-calls \
- '-fhardcfr-check-noreturn-calls=*'
+ -fharden-control-flow-redundancy -fno-harden-control-flow-redundancy \
+ -fhardcfr-skip-leaf -fhardcfr-check-exceptions \
+ -fhardcfr-check-returning-calls '-fhardcfr-check-noreturn-calls=*'
fi
# Makes things painfully slow and no real beenfit for the compiler.