2016-06-23 22:18:13 +03:00
|
|
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
2016-06-02 22:11:42 +03:00
|
|
|
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"
|
|
|
|
" -fpic"
|
|
|
|
)
|
|
|
|
|
2016-06-23 22:18:13 +03:00
|
|
|
include(Platform/Android/abi-common-GNU)
|