forked from openkylin/platform_build
Use new variable LLVM_PREBUILTS_VERSION to simplify path construction.
This removes the hard-coded '3.5' in the various paths and makes switching to a new toolchain easier from the command line (m LLVM_PREBUILTS_VERSION=3.6). Change-Id: I46b10eb2fc177a03528de9c7b433f8647f632081
This commit is contained in:
parent
3302924802
commit
8affa161fe
|
@ -6,8 +6,9 @@ WITHOUT_TARGET_CLANG := true
|
|||
WITHOUT_HOST_CLANG := true
|
||||
endif
|
||||
|
||||
LLVM_PREBUILTS_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/3.5/bin
|
||||
LLVM_PREBUILTS_HEADER_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/3.5/lib/clang/3.5/include/
|
||||
LLVM_PREBUILTS_VERSION := 3.5
|
||||
LLVM_PREBUILTS_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/$(LLVM_PREBUILTS_VERSION)/bin
|
||||
LLVM_PREBUILTS_HEADER_PATH := prebuilts/clang/$(BUILD_OS)-x86/host/$(LLVM_PREBUILTS_VERSION)/lib/clang/$(LLVM_PREBUILTS_VERSION)/include/
|
||||
|
||||
CLANG := $(LLVM_PREBUILTS_PATH)/clang$(BUILD_EXECUTABLE_SUFFIX)
|
||||
CLANG_CXX := $(LLVM_PREBUILTS_PATH)/clang++$(BUILD_EXECUTABLE_SUFFIX)
|
||||
|
|
Loading…
Reference in New Issue