Skip to content

Commit

Permalink
flag-o-matic.eclass: allow -fno-harden-control-flow-redundancy too
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Oct 26, 2023
1 parent 035dc28 commit 7b8bd09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/flag-o-matic.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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=*'
Expand Down

0 comments on commit 7b8bd09

Please sign in to comment.