diff --git a/CMakeLists.txt b/CMakeLists.txt index 87a90d3410..96c326166f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,9 +153,7 @@ if(NOT ENABLE_GENERIC) set(_M_ARM 1) set(_M_ARM_32 1) add_definitions(-D_M_ARM=1 -D_M_ARM_32=1) - if(${ANDROID_NDK_ABI_NAME} MATCHES "armeabi-v7a") - add_definitions(-marm -march=armv7-a) - endif() + add_definitions(-marm -march=armv7-a) elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") # This option only applies to 64bit ARM set(_M_ARM 1)