From 14e6a4d93312e4a713a576a1b5379b27b0f53219 Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 20 Jun 2012 07:48:47 +0000 Subject: [PATCH] add and export HOSTCC_NOCACHE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32466 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.mk b/rules.mk index 83bc62216..412615c32 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)