summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-26 20:41:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-26 20:41:49 +0100
commit12795ed0561fe52503d6aa3a1c60888553a03bd2 (patch)
treebebc6554f117bd11f5e1c3503ed66966afcb5f3f /eclass
parent7e8f2c69a019131eaeb989242d022260ea5a84ff (diff)
gentoo auto-resync : 26:10:2023 - 20:41:49
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39114 -> 39112 bytes
-rw-r--r--eclass/toolchain.eclass12
2 files changed, 12 insertions, 0 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index b957ec8b6121..ca8e5635ab71 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 8df8b506b0b1..4fd884f5f0bc 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1535,6 +1535,18 @@ gcc_do_filter_flags() {
fi
fi
+
+ 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=*'
+ 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