summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/abi-armeabi-Clang.cmake
blob: 4fc300908dac8c263d6514577c7bed9690636478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
set(_ANDROID_ABI_CLANG_TARGET "armv5te-none-linux-androideabi")

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"
  " -fpic"
  )

include(Platform/Android/abi-common-Clang)