summaryrefslogtreecommitdiff
path: root/make/ccache.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/ccache.mk')
-rw-r--r--make/ccache.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/ccache.mk b/make/ccache.mk
index f973a529e..e664a3a3e 100644
--- a/make/ccache.mk
+++ b/make/ccache.mk
@@ -128,6 +128,7 @@ $(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY)
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
# put a bunch of symlinks into /bin, since that is earlier
# in the default PATH than /usr/bin where gcc lives
+ (cd $(TARGET_DIR)/usr/bin; ln -fs gcc cc)
(cd $(TARGET_DIR)/bin; \
ln -fs /usr/bin/ccache cc; \
ln -fs /usr/bin/ccache gcc; \