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

This commit is contained in:
Juan RP 2013-01-27 11:07:32 +01:00
parent b0d11d50d1
commit 9743f6489b

View file

@ -1,7 +1,7 @@
# Template file for 'distcc'
pkgname=distcc
version=3.2rc1
revision=3
revision=4
subpackages="distcc-pump"
build_style=gnu-configure
makedepends="pkg-config python-devel popt-devel avahi-libs-devel"
@ -28,7 +28,7 @@ post_install() {
# gcc wrappers
vmkdir usr/lib/distcc/bin
for f in cc c++ cpp g++; do
for f in gcc cc c++ cpp g++; do
ln -sfr ${DESTDIR}/usr/bin/distcc ${DESTDIR}/usr/lib/distcc/bin/${f}
done
}