diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-24 00:11:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-24 00:11:52 +0100 |
commit | 67e5603b2844a6657dd0438fa26626b013e5567f (patch) | |
tree | e7319631fdf1c41ddbe888e89a717d1ba42af992 /eclass/qt6-build.eclass | |
parent | bff543bb632933380da922cbfc07c67157d72d42 (diff) |
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r-- | eclass/qt6-build.eclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 4966c52adc4c..24b857dab53f 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -282,6 +282,17 @@ _qt6-build_sanitize_cpu_flags() { bmi bmi2 f16c fma lzcnt popcnt ) + # extras only needed by chromium in qtwebengine + # (see also chromium's ebuild wrt bug #530248,#544702,#546984,#853646) + [[ ${PN} == qtwebengine ]] && cpuflags+=( + mmx xop + + # unclear if these two are really needed given (current) chromium + # does not pass these flags, albeit it may side-disable something + # else so keeping as a safety (like chromium's ebuild does) + fma4 sse4a + ) + # check if any known problematic -mno-* C(XX)FLAGS if ! is-flagq "@($(IFS='|'; echo "${cpuflags[*]/#/-mno-}"))"; then # check if qsimd_p.h (search for "enable all") will accept -march |