aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-08-10 19:05:22 +0000
committerJohn Crispin <john@openwrt.org>2012-08-10 19:05:22 +0000
commite154d503684385ed37d5d46513fba15e367d43c7 (patch)
treedae1b852e81c3885318c0d68faa9fe29ad4ee642
parentfb9023bb8a7ac809435c6622506abcb3690d8d03 (diff)
downloadupstream-e154d503684385ed37d5d46513fba15e367d43c7.tar.gz
upstream-e154d503684385ed37d5d46513fba15e367d43c7.tar.bz2
upstream-e154d503684385ed37d5d46513fba15e367d43c7.zip
fix ccache build
SVN-Revision: 33087
-rw-r--r--tools/ccache/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 442094a180..2a43a7e225 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -16,6 +16,8 @@ PKG_MD5SUM:=80a698c22d0b06b19c88ac58e8d8b632
include $(INCLUDE_DIR)/host-build.mk
+HOSTCC:=$(HOSTCC_NOCACHE)
+
define Host/Install/ccache
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
$(CP) ./files/* $(STAGING_DIR_HOST)/bin/
@@ -23,7 +25,7 @@ endef
ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
define Host/Compile
- $(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR)
+ $(MAKE) -C $(HOST_BUILD_DIR)
endef
define Host/Clean