diff options
-rw-r--r-- | cmake/QtCompilerOptimization.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtCompilerOptimization.cmake b/cmake/QtCompilerOptimization.cmake index 9f7bc34964..2e98dc31c2 100644 --- a/cmake/QtCompilerOptimization.cmake +++ b/cmake/QtCompilerOptimization.cmake @@ -53,7 +53,7 @@ if(GCC OR CLANG) set(QT_CFLAGS_RDSEED "-mrdseed") set(QT_CFLAGS_AVX "-mavx") set(QT_CFLAGS_AVX2 "-mavx2") - set(QT_CFLAGS_ARCH_HASWELL "-march=core-avx2") + set(QT_CFLAGS_ARCH_HASWELL "-march=haswell") set(QT_CFLAGS_AVX512F "-mavx512f") set(QT_CFLAGS_AVX512ER "-mavx512er") set(QT_CFLAGS_AVX512CD "-mavx512cd") |