CMake/Modules/Platform/Android/abi-armeabi-v6-GNU.cmake

17 lines
383 B
CMake

# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
string(APPEND _ANDROID_ABI_INIT_CFLAGS
" -march=armv6"
)
if(CMAKE_ANDROID_ARM_MODE)
string(APPEND _ANDROID_ABI_INIT_CFLAGS " -marm")
else()
string(APPEND _ANDROID_ABI_INIT_CFLAGS " -mthumb")
endif()
string(APPEND _ANDROID_ABI_INIT_CFLAGS
" -mfloat-abi=softfp"
)
include(Platform/Android/abi-common-GNU)