summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39119 -> 39122 bytes
-rw-r--r--eclass/toolchain.eclass12
2 files changed, 6 insertions, 6 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index 09734a19b03b..b02b55714271 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4fd884f5f0bc..bf5e5127036f 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1539,14 +1539,14 @@ 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=*'
+ else
+ # Makes things painfully slow and no real benefit for the compiler.
+ append-flags $(test-flags-CC -fno-harden-control-flow-redundancy)
fi
- # Makes things painfully slow and no real beenfit for the compiler.
- append-flags $(test-flags-CC -fno-harden-control-flow-redundancy)
-
# Please use USE=lto instead (bug #906007).
filter-lto