mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
575 B
20 lines
575 B
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
|
|
|
|
android_CFLAGS=-std=$(C_STANDARD)
|
|
|
|
ifneq ($(LTO),)
|
|
android_CFLAGS += -flto
|
|
android_LDFLAGS += -flto
|
|
endif
|
|
|
|
android_AR=$(ANDROID_TOOLCHAIN_BIN)/llvm-ar
|
|
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/llvm-ranlib
|
|
|
|
android_cmake_system=Android
|