diff options
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b2d5a62165a6..bf5e5127036f 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1542,11 +1542,11 @@ gcc_do_filter_flags() { -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 |