summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-26 22:54:43 +0100
committerSam James <sam@gentoo.org>2023-10-26 22:54:54 +0100
commit7b8bd09d4c674fdbf253b1997930ebcc2f958936 (patch)
tree54e92b128d22056f5456cff88daff80709026d8c /eclass/flag-o-matic.eclass
parentdev-util/ruff: add 0.1.3, drop 0.1.2 (diff)
downloadgentoo-7b8bd09d4c674fdbf253b1997930ebcc2f958936.tar.gz
gentoo-7b8bd09d4c674fdbf253b1997930ebcc2f958936.tar.bz2
gentoo-7b8bd09d4c674fdbf253b1997930ebcc2f958936.zip
flag-o-matic.eclass: allow -fno-harden-control-flow-redundancy too
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files 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=*'