We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e330b commit 5d354c7Copy full SHA for 5d354c7
Makefile
@@ -87,8 +87,14 @@ else ifeq ($(PLATFORM),android)
87
BIN = $(ANDROID_NDK)/toolchains/llvm/prebuilt/$(HOST)-x86_64/bin
88
ifneq (,$(filter $(ARCH),arm64 arm64-v8a))
89
override ARCH := aarch64
90
+ ANDROID_ABI := android26
91
+ else ifeq ($(ARCH),armeabi-v7a)
92
+ override ARCH := armv7a
93
+ ANDROID_ABI := androideabi26
94
+ else
95
96
endif
- CC = $(BIN)/$(ARCH)-linux-android26-clang
97
+ CC = $(BIN)/$(ARCH)-linux-$(ANDROID_ABI)-clang
98
TARGET := $(DIST_DIR)/mcp.so
99
LDFLAGS += -shared
100
STRIP = $(BIN)/llvm-strip --strip-unneeded $@
0 commit comments