summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/ccache.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/ccache.mk b/make/ccache.mk
index ce5044469..f973a529e 100644
--- a/make/ccache.mk
+++ b/make/ccache.mk
@@ -21,8 +21,9 @@ $(CCACHE_DIR1)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE)
$(CCACHE_DIR1)/.patched: $(CCACHE_DIR1)/.unpacked
$(SED) "s,getenv(\"CCACHE_PATH\"),\"$(STAGING_DIR)/usr/bin\",g" \
$(CCACHE_DIR1)/execute.c
- $(SED) "s,getenv(\"CCACHE_DIR\"),\"$(CCACHE_DIR1)\",g" \
+ $(SED) "s,getenv(\"CCACHE_DIR\"),\"$(CCACHE_DIR1)/cache\",g" \
$(CCACHE_DIR1)/ccache.c
+ mkdir -p $(CCACHE_DIR1)/cache
touch $(CCACHE_DIR1)/.patched
$(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched