From f6ef96fab28fe928aad00e0b80c6b40d165babaf Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Wed, 20 Jun 2012 07:48:47 +0000
Subject: [PATCH] add and export HOSTCC_NOCACHE

SVN-Revision: 32466
---
 rules.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules.mk b/rules.mk
index 83bc622166..412615c320 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)
-- 
GitLab