2019-10-31 23:38:13 -04:00
|
|
|
ANDROID_API=21
|
|
|
|
|
|
|
|
ifeq ($(host_arch),arm)
|
|
|
|
host_toolchain=arm-linux-androideabi-
|
|
|
|
endif
|
|
|
|
|
|
|
|
android_CC=$(host_toolchain)clang
|
|
|
|
android_CXX=$(host_toolchain)clang++
|
2019-11-13 08:50:17 -05:00
|
|
|
android_RANLIB=:
|
2019-10-31 23:38:13 -04:00
|
|
|
|
|
|
|
android_CFLAGS=-pipe
|
|
|
|
android_CXXFLAGS=$(android_CFLAGS)
|
2019-11-13 08:50:17 -05:00
|
|
|
android_ARFLAGS=crsD
|
2019-10-31 23:38:13 -04:00
|
|
|
|
|
|
|
android_release_CFLAGS=-O2
|
|
|
|
android_release_CXXFLAGS=$(android_release_CFLAGS)
|
|
|
|
|
|
|
|
android_debug_CFLAGS=-g -O0
|
|
|
|
android_debug_CXXFLAGS=$(android_debug_CFLAGS)
|
|
|
|
|
|
|
|
android_native_toolchain=android_ndk
|
|
|
|
|
2023-09-26 10:37:29 -04:00
|
|
|
android_cmake_system=Android
|