commit: 6510a7093f6ab76c7541de9dc1d0a1a56c711748
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 5 11:08:47 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 11:11:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6510a709
flag-o-matic.eclass: allow -mbranch-protection=*
Newer arm64 HW has this.
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/flag-o-matic.eclass | 1 +
1 file changed, 1 insertion(+)
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