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 9849010 commit e8dbf58Copy full SHA for e8dbf58
Makefile
@@ -73,10 +73,17 @@ else ifeq ($(PLATFORM),android)
73
$(error "Android NDK must be set")
74
endif
75
BIN = $(ANDROID_NDK)/toolchains/llvm/prebuilt/$(HOST)-x86_64/bin
76
+ PATH := $(BIN):$(PATH)
77
ifneq (,$(filter $(ARCH),arm64 arm64-v8a))
78
override ARCH := aarch64
79
+ ANDROID_ABI := android26
80
+ else ifeq ($(ARCH),armeabi-v7a)
81
+ override ARCH := armv7a
82
+ ANDROID_ABI := androideabi26
83
+ else
84
85
- CC = $(BIN)/$(ARCH)-linux-android26-clang
86
+ CC = $(BIN)/$(ARCH)-linux-$(ANDROID_ABI)-clang
87
TARGET := $(DIST_DIR)/agent.so
88
LDFLAGS += -shared
89
CFLAGS += -fPIC
0 commit comments