2016-06-23 22:18:13 +03:00
|
|
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
2016-06-02 22:10:05 +03:00
|
|
|
set(_ANDROID_ABI_CLANG_TARGET "armv5te-none-linux-androideabi")
|
2016-06-02 22:11:42 +03:00
|
|
|
|
|
|
|
string(APPEND _ANDROID_ABI_INIT_CFLAGS
|
|
|
|
" -march=armv5te"
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
" -msoft-float"
|
|
|
|
" -mtune=xscale"
|
|
|
|
)
|
|
|
|
|
2016-06-23 22:18:13 +03:00
|
|
|
include(Platform/Android/abi-common-Clang)
|