summaryrefslogtreecommitdiffstats
path: root/cmake/QtCompilerOptimization.cmake
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-01-21 11:30:00 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2020-02-05 09:45:14 +0000
commit0f8039140c9e32cb1643eabd4539c53f0e5c1482 (patch)
tree7cc1d6ab36f6094b79754af3b97d33a047c35acc /cmake/QtCompilerOptimization.cmake
parente1170185e31624daafff16447a0d548ec035b29e (diff)
qtbase: don't use neon flags on arm64
NEON is mandatory for aarch64 and compiler doesn't recognize -mfpu=neon commandline argument. Change-Id: I36e9c40e3fd3604d4895da0526152e90b2165770 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtCompilerOptimization.cmake')
-rw-r--r--cmake/QtCompilerOptimization.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtCompilerOptimization.cmake b/cmake/QtCompilerOptimization.cmake
index f1ebafc009..1f50044a6f 100644
--- a/cmake/QtCompilerOptimization.cmake
+++ b/cmake/QtCompilerOptimization.cmake
@@ -62,7 +62,7 @@ if(GCC OR CLANG)
set(QT_CFLAGS_AVX512VBMI "-mavx512vbmi")
set(QT_CFLAGS_AESNI "-maes")
set(QT_CFLAGS_SHANI "-msha")
- if(NOT APPLE_UIKIT)
+ if(NOT APPLE_UIKIT AND NOT QT_64BIT)
set(QT_CFLAGS_NEON "-mfpu=neon")
endif()
set(QT_CFLAGS_MIPS_DSP "-mdsp")