tools/fakeroot: fix build regression on macOS
[openwrt/staging/rmilecki.git] / Makefile
index f1577ad4d143b9ece4536e0e8c0551a8484eb5dd..0144b0c5ffc9b99dfd0a280f4b8f3e029f025e8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ dirclean: clean
 
 cacheclean:
 ifneq ($(CONFIG_CCACHE),)
-       rm -rf $(CCACHE_DIR)
+       $(STAGING_DIR_HOST)/bin/ccache -C
 endif
 
 ifndef DUMP_TARGET_DB