summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-20 07:48:47 +0000
committerJohn Crispin <john@openwrt.org>2012-06-20 07:48:47 +0000
commitf6ef96fab28fe928aad00e0b80c6b40d165babaf (patch)
tree1288f5d808350408cad3737816eb312e65c70d4e /rules.mk
parent1978c07539ef5a4933ea0a497c934ead9804309a (diff)
downloadmtk-20170518-f6ef96fab28fe928aad00e0b80c6b40d165babaf.zip
mtk-20170518-f6ef96fab28fe928aad00e0b80c6b40d165babaf.tar.gz
mtk-20170518-f6ef96fab28fe928aad00e0b80c6b40d165babaf.tar.bz2
add and export HOSTCC_NOCACHE
SVN-Revision: 32466
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 83bc622..412615c 100644
--- a/rules.mk
+++ b/rules.mk
@@ -188,8 +188,10 @@ INSTALL_CONF:=install -m0600
ifneq ($(CONFIG_CCACHE),)
TARGET_CC_NOCACHE:=$(TARGET_CC)
TARGET_CXX_NOCACHE:=$(TARGET_CXX)
+ HOSTCC_NOCACHE:=$(HOSTCC)
export TARGET_CC_NOCACHE
export TARGET_CXX_NOCACHE
+ export HOSTCC_NOCACHE
TARGET_CC:= ccache_cc
TARGET_CXX:= ccache_cxx
HOSTCC:= ccache $(HOSTCC)