mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
qt6-build.eclass: fix x86-64-v4 detection with gcc-16
Could probably improve the detection method if needed, but going with the simplest solution unless there's more problems. May need to revisiting if clang follows suit to match gcc (or if gcc-16 changes something before release) given x86-64-v4 now means something different. Closes: https://bugs.gentoo.org/956750 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -336,6 +336,9 @@ _qt6-build_sanitize_cpu_flags() {
|
||||
x86-64-v2
|
||||
# if (__AVX__ + __AVX2__ + __BMI__ + __BMI2__ + __F16C__ + __FMA__ + __LZCNT__ + __MOVBE__ + __XSAVE__) == 9
|
||||
x86-64-v3
|
||||
# if !defined(__EVEX512__) && !defined(__clang__) && __GNUC__ >= 16
|
||||
# define __EVEX512__ 1 /* removed in gcc-16 (bug #956750) */
|
||||
# endif
|
||||
# if (__AVX512BW__ + __AVX512CD__ + __AVX512DQ__ + __AVX512F__ + __AVX512VL__ + __EVEX256__ + __EVEX512__) == 7
|
||||
x86-64-v4
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user