summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-12 05:49:41 +0100
committerSam James <sam@gentoo.org>2024-05-12 05:49:41 +0100
commitded2b2cd180ee3896423dca54c4f24962d5c9b0a (patch)
tree9138c00271bff4b8ac3c120604737428cd667342 /eclass
parentsys-block/parted: disable -fanalyzer (diff)
downloadgentoo-ded2b2cd180ee3896423dca54c4f24962d5c9b0a.tar.gz
gentoo-ded2b2cd180ee3896423dca54c4f24962d5c9b0a.tar.bz2
gentoo-ded2b2cd180ee3896423dca54c4f24962d5c9b0a.zip
flag-o-matic.eclass: allow -mevex512 and -mno-evex512
The whole -m/-mno-* situation needs to be improved in the eclass but let's do this for now for the benefit of Chromium (see 754d6f5226a532ed086afa276b48e89ffafe0484). Bug: https://bugs.gentoo.org/931623 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 0e5271c7824f..ecac452aa0ef 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -139,6 +139,8 @@ _setup-allowed-flags() {
-mno-fxsr -mno-hle -mno-rtm -mno-xsave -mno-xsaveopt
# gcc 4.9
-mno-avx512cd -mno-avx512er -mno-avx512f -mno-avx512pf -mno-sha
+
+ -mevex512 -mno-evex512
)
# Allow some safe individual flags. Should come along with the bug reference.