Hello,

I ran into the problem that if ccache is locally installed building some 
programs does not found the compiler. The ccache binary is looked up in 
staging_dir/host/bin which is only there if installed. This patch fixes the 
ccache install if ccache is found.

The patch is against 10.03.1.


With best regards

Christoph
-- 
Linux User Group Wernigerode
http://www.lug-wr.de/
diff -burN tools/ccache.orig/Makefile tools/ccache/Makefile
--- tools/ccache.orig/Makefile	2012-01-31 19:56:07.456732068 +0100
+++ tools/ccache/Makefile	2012-01-31 20:05:05.200749061 +0100
@@ -38,6 +38,7 @@
   define Host/Compile
   endef
   define Host/Install
+	ln -sf $$(shell which ccache) $(STAGING_DIR_HOST)/bin/ccache
   endef
   define Host/Clean
   endef

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to