diff --git a/Makefile b/Makefile index 066ec6ea..82f9bb09 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ windebug winrelease: LDFLAGS += \ -Ldeps/openssl/mingw64/lib $(ANDROID_X86_64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := x86_64-linux-android $(ANDROID_ARM64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := aarch64-linux-android -$(ANDROID_TARGETS): CC = $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/clang +$(ANDROID_TARGETS): CC = $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/$(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_NDK_API_VERSION)-clang $(ANDROID_TARGETS): AS = $(CC) $(ANDROID_TARGETS): CFLAGS += \ -target $(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_NDK_API_VERSION) \