summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/abi-armeabi-v6-GNU.cmake
blob: 7492de087ec348449676737a4702598a606a7127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# <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"
  " -fpic"
  )

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