commit:     7b8bd09d4c674fdbf253b1997930ebcc2f958936
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 21:54:43 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 21:54:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8bd09d

flag-o-matic.eclass: allow -fno-harden-control-flow-redundancy too

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 382573b80679..58a14178f38a 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -57,8 +57,8 @@ _setup-allowed-flags() {
                -fbounds-check -fbounds-checking
                -fno-PIE -fno-pie -nopie -no-pie
                -fharden-compares -fharden-conditional-branches
-               -fharden-control-flow-redundancy -fhardcfr-skip-leaf
-               -fhardcfr-check-exceptions -fhardcfr-check-returning-calls
+               -fharden-control-flow-redundancy 
-fno-harden-control-flow-redundancy
+               -fhardcfr-skip-leaf -fhardcfr-check-exceptions 
-fhardcfr-check-returning-calls
                '-fhardcfr-check-noreturn-calls=*'
                # Spectre mitigations, bug #646076
                '-mindirect-branch=*'

Reply via email to