Android.rules: set "ar" path correctly

llvm-svn: 301918
This commit is contained in:
Pavel Labath 2017-05-02 13:14:45 +00:00
parent efddda3d8d
commit 59bc6d1ce0
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ endif
GCC_TOOLCHAIN = $(NDK_ROOT)/toolchains/$(TOOLCHAIN_DIR)/prebuilt/$(HOST_TAG)
OBJCOPY ?= $(GCC_TOOLCHAIN)/bin/$(TOOL_PREFIX)-objcopy
ARCHIVER ?= $(GCC_TOOLCHAIN)/bin/$(TOOL_PREFIX)-ar
ifeq "$(findstring clang,$(CC))" "clang"
ARCH_CFLAGS += -target $(TRIPLE) -gcc-toolchain $(GCC_TOOLCHAIN)