diff options
Diffstat (limited to 'share/cmake-3.18/Modules/Platform/Android/abi-armeabi-GNU.cmake')
-rw-r--r-- | share/cmake-3.18/Modules/Platform/Android/abi-armeabi-GNU.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/share/cmake-3.18/Modules/Platform/Android/abi-armeabi-GNU.cmake b/share/cmake-3.18/Modules/Platform/Android/abi-armeabi-GNU.cmake new file mode 100644 index 0000000..33e8b31 --- /dev/null +++ b/share/cmake-3.18/Modules/Platform/Android/abi-armeabi-GNU.cmake @@ -0,0 +1,17 @@ +# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk +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" + ) + +include(Platform/Android/abi-common-GNU) |