commit:     6dbf85f4b67761b08c539adf4f25a50c96865a52
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  7 22:10:40 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep  7 22:16:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dbf85f4

qt6-build.eclass: more aggressively disable cpu flags mismatch

Closes: https://bugs.gentoo.org/913843
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 eclass/qt6-build.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass
index 0b4ea6a58ce6..28f8d904065d 100644
--- a/eclass/qt6-build.eclass
+++ b/eclass/qt6-build.eclass
@@ -252,7 +252,7 @@ _qt6-build_match_cpu_flags() {
        while IFS=' ' read -ra intrins; do
                [[ ${intrins[*]} == *=[^_]* && ${intrins[*]} == *=_* ]] &&
                        for intrin in "${intrins[@]}"; do
-                               [[ ${intrin} == *?=[^_]* ]] && 
flags+=(-mno-${intrin%=*})
+                               [[ ${intrin} == *?=* ]] && flags+=( 
-mno-${intrin%=*} )
                        done
        done < <(
                # TODO: review if can drop fma= matching after QTBUG-116357

Reply via email to