commit:     ded2b2cd180ee3896423dca54c4f24962d5c9b0a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 04:49:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 04:49:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded2b2cd

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 <AT> gentoo.org>

 eclass/flag-o-matic.eclass | 2 ++
 1 file changed, 2 insertions(+)

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.

Reply via email to