summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 90b69302f..8fdfaced1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,8 +146,7 @@ ELSE()
ADD_COMPILE_FLAG("-msse2")
ADD_COMPILE_FLAG("-mfpmath=sse")
elseif(TARGET_ARCH STREQUAL "ARM")
- # stub for ARM-specific instructions. GCC6 adds NEON with the below flags
- ADD_COMPILE_FLAG("-march=native")
+ ADD_COMPILE_FLAG("-mfpu=vfpv3")
endif ()
endif ()
ADD_COMPILE_FLAG("-Wall")