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:
@@ -1,6 +1,6 @@
|
|||||||
## Clang configurations.
|
## 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
|
define convert-to-clang-flags
|
||||||
$(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1)))
|
$(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1)))
|
||||||
|
Reference in New Issue
Block a user