diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
commit | 0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch) | |
tree | ba392915815492b0ce486fc0e3ad5afb4a849b6f /eclass/toolchain.eclass | |
parent | e30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff) |
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
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 |