2021-11-24 05:32:59 +01:00
|
|
|
ifeq ($(HOST),armv7a-linux-android)
|
|
|
|
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang++
|
|
|
|
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang
|
|
|
|
else
|
|
|
|
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang++
|
|
|
|
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang
|
|
|
|
endif
|
2022-06-14 20:06:03 +02:00
|
|
|
|
2024-11-04 15:03:52 +01:00
|
|
|
android_CFLAGS=-std=$(C_STANDARD)
|
|
|
|
android_CXXFLAGS=-std=$(CXX_STANDARD)
|
|
|
|
|
2022-06-14 20:06:03 +02:00
|
|
|
ifneq ($(LTO),)
|
|
|
|
android_CFLAGS += -flto
|
|
|
|
android_LDFLAGS += -flto
|
|
|
|
endif
|
|
|
|
|
2021-11-16 03:05:02 +01:00
|
|
|
android_AR=$(ANDROID_TOOLCHAIN_BIN)/llvm-ar
|
|
|
|
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/llvm-ranlib
|
|
|
|
|
2020-05-21 09:10:52 +02:00
|
|
|
android_cmake_system=Android
|