LLVM_RTLIB_PATH should not hard code linux
The path is incorrect on Darwin. Changed to use $(HOST_OS) instead. Fixes Darwin build. Bug: 29275768 Test: Forrest Change-Id: I164306ad2237bce86baf37d3291622a709bfe8f3
This commit is contained in:
parent
c21c709f0b
commit
8d3c6cda21
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
## Clang configurations.
|
||||
|
||||
LLVM_RTLIB_PATH := $(LLVM_PREBUILTS_PATH)/../lib64/clang/$(LLVM_RELEASE_VERSION)/lib/linux/
|
||||
LLVM_RTLIB_PATH := $(LLVM_PREBUILTS_PATH)/../lib64/clang/$(LLVM_RELEASE_VERSION)/lib/$(HOST_OS)/
|
||||
|
||||
define convert-to-clang-flags
|
||||
$(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1)))
|
||||
|
|
Loading…
Reference in a new issue