summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-21 18:27:48 +0100
committerSam James <sam@gentoo.org>2023-10-21 18:27:48 +0100
commite0c3236a6e73fe4cec5361d0f998b438d8152563 (patch)
tree3a86d41616012ff8d16b7c42d04612c1a0d6abcd /eclass/flag-o-matic.eclass
parentflag-o-matic.eclass: add -mpreferred-stack-boundary=*, -mincoming-stack-bound... (diff)
downloadgentoo-e0c3236a6e73fe4cec5361d0f998b438d8152563.tar.gz
gentoo-e0c3236a6e73fe4cec5361d0f998b438d8152563.tar.bz2
gentoo-e0c3236a6e73fe4cec5361d0f998b438d8152563.zip
flag-o-matic.eclass: add '-mharden-sls=*'
Spectre-style mitigation. 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 a899afdb4f18..d7c1fce4b208 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -65,6 +65,7 @@ _setup-allowed-flags() {
-mindirect-branch-register
'-mfunction-return=*'
-mretpoline
+ '-mharden-sls=*'
'-mbranch-protection=*'
# Misc