forked from openkylin/platform_build
am 6be7d2e5: Merge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
* commit '6be7d2e5bb9da9b1b5c06886466d089637529dcc': Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
This commit is contained in:
commit
bf4ac764cd
|
@ -17,17 +17,6 @@ LLVM_LINK := $(LLVM_PREBUILTS_PATH)/llvm-link$(BUILD_EXECUTABLE_SUFFIX)
|
|||
CLANG_TBLGEN := $(HOST_OUT_EXECUTABLES)/clang-tblgen$(BUILD_EXECUTABLE_SUFFIX)
|
||||
LLVM_TBLGEN := $(HOST_OUT_EXECUTABLES)/llvm-tblgen$(BUILD_EXECUTABLE_SUFFIX)
|
||||
|
||||
# The C/C++ compiler can be wrapped by setting the CC/CXX_WRAPPER vars.
|
||||
ifdef CC_WRAPPER
|
||||
ifneq ($(CC_WRAPPER),$(firstword $(CLANG)))
|
||||
CLANG := $(CC_WRAPPER) $(CLANG)
|
||||
endif
|
||||
endif
|
||||
ifdef CXX_WRAPPER
|
||||
ifneq ($(CXX_WRAPPER),$(firstword $(CLANG_CXX)))
|
||||
CLANG_CXX := $(CXX_WRAPPER) $(CLANG_CXX)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Clang flags for all host or target rules
|
||||
CLANG_CONFIG_EXTRA_ASFLAGS :=
|
||||
|
|
Loading…
Reference in New Issue