Skip to content

Commit ac323a7

Browse files
committed
build: Switch to llvm buinutils for Android builds
GNU Binutils with the exception of the assembler were removed in NDK r23 LTS.
1 parent 4a87077 commit ac323a7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

depends/hosts/android.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
ifeq ($(HOST),armv7a-linux-android)
2-
android_AR=$(ANDROID_TOOLCHAIN_BIN)/arm-linux-androideabi-ar
32
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang++
43
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang
5-
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/arm-linux-androideabi-ranlib
64
else
7-
android_AR=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)-ar
85
android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang++
96
android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang
10-
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)-ranlib
117
endif
8+
android_AR=$(ANDROID_TOOLCHAIN_BIN)/llvm-ar
9+
android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/llvm-ranlib
10+
1211
android_cmake_system=Android

0 commit comments

Comments
 (0)