diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-09-04 09:11:02 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-09-08 21:00:29 -0700 |
commit | 3deb154d2207c5b38675ee75b4a843a100abf6a9 (patch) | |
tree | 342d5a3631052d6aa2bc58b0f1d9409ed522c616 /cmake/QtCompilerOptimization.cmake | |
parent | 29ed0e33914c4880202018586c6ab6ad6b870573 (diff) | |
download | qtbase-3deb154d2207c5b38675ee75b4a843a100abf6a9.tar.gz |
CMake: update ARCH_HASWELL flag
We don't support older compilers from before they accepted
the architecture codenames.
Change-Id: If13a10ed95b34007858bfffd1631a08b425fa9c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'cmake/QtCompilerOptimization.cmake')
-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") |