summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-08-03 14:06:58 -0700
committerYing Wang <wangying@google.com>2015-08-03 14:06:58 -0700
commit66c8e8c756fb1790cac792b32ba2de057c3b1b4e (patch)
tree8ebab62b5c6f9cbc94e70ee5a3bef961505fd0bf /core/clang
parent56866c4d0e31bbc65e333754bb69accb2b0f4a36 (diff)
downloadbuild-66c8e8c756fb1790cac792b32ba2de057c3b1b4e.zip
build-66c8e8c756fb1790cac792b32ba2de057c3b1b4e.tar.gz
build-66c8e8c756fb1790cac792b32ba2de057c3b1b4e.tar.bz2
Don't prepend CC_WRAPPER to CLANG.
We have deferred the CC_WRAPPER prepending to binary.mk per module. Bug: 22612634 Change-Id: If2c0549503989d17ff7be619fdd49c26fd78f0a5
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/config.mk12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index dfad7ec..e1bfb01 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -18,18 +18,6 @@ LLVM_LINK := $(LLVM_PREBUILTS_PATH)/llvm-link$(BUILD_EXECUTABLE_SUFFIX)
CLANG_TBLGEN := $(BUILD_OUT_EXECUTABLES)/clang-tblgen$(BUILD_EXECUTABLE_SUFFIX)
LLVM_TBLGEN := $(BUILD_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 :=
CLANG_CONFIG_EXTRA_CFLAGS :=