]> git.ipfire.org Git - people/trikolon/ipfire-2.x.git/commitdiff
ccache: Use ccache when compiler is called by its full name.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Sep 2011 20:11:42 +0000 (22:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Sep 2011 20:11:42 +0000 (22:11 +0200)
lfs/ccache

index 6ae52330ac29e7ecc496a5f7d261dfc5c847247b..b7cad8697d143be739ed38ecf1d66c33559ba517 100644 (file)
@@ -77,6 +77,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        ln -sf ccache $(ROOT)/usr/local/bin/gcc
        ln -sf ccache $(ROOT)/usr/local/bin/g++
        ln -sf ccache $(ROOT)/usr/local/bin/cc
+       ln -sf ccache $(ROOT)/usr/local/bin/$(BUILDTARGET)-gcc
+       ln -sf ccache $(ROOT)/usr/local/bin/$(BUILDTARGET)-g++
+       ln -sf ccache $(ROOT)/usr/local/bin/$(BUILDTARGET)-cc
        $(ROOT)/usr/local/bin/ccache -z
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)