summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-05 12:08:47 +0100
committerSam James <sam@gentoo.org>2023-10-05 12:11:58 +0100
commit6510a7093f6ab76c7541de9dc1d0a1a56c711748 (patch)
tree2008fbb28dea88c6b79726a0cad17ecc1016ed49 /eclass/flag-o-matic.eclass
parentflag-o-matic.eclass: allow -mno-omit-leaf-frame-pointer (diff)
downloadgentoo-6510a7093f6ab76c7541de9dc1d0a1a56c711748.tar.gz
gentoo-6510a7093f6ab76c7541de9dc1d0a1a56c711748.tar.bz2
gentoo-6510a7093f6ab76c7541de9dc1d0a1a56c711748.zip
flag-o-matic.eclass: allow -mbranch-protection=*
Newer arm64 HW has this. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 5e523974d25c..bf4a8397c5d1 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -61,6 +61,7 @@ _setup-allowed-flags() {
-mindirect-branch-register
'-mfunction-return=*'
-mretpoline
+ '-mbranch-protection=*'
# Misc
-fno-unit-at-a-time -fno-strict-overflow