ccache: also create a gcc wrapper for pkgs that use CC=gcc.

This commit is contained in:
Juan RP 2013-01-27 11:06:55 +01:00
parent 7e4d20db75
commit b0d11d50d1

View file

@ -1,7 +1,7 @@
# Template file for 'ccache'
pkgname=ccache
version=3.1.9
revision=1
revision=2
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
@ -14,7 +14,7 @@ checksum=04d3e2e438ac8d4cc4b110b68cdd61bd59226c6588739a4a386869467f5ced7c
post_install() {
vmkdir usr/lib/ccache/bin
for f in cc c++ cpp g++; do
for f in gcc cc c++ cpp g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
done
}