ccache: create clang symlinks too.

This commit is contained in:
Juan RP 2014-10-31 09:31:38 +01:00
parent dde4dc4c2a
commit 0d48d5d87d

View file

@ -1,7 +1,7 @@
# Template file for 'ccache' # Template file for 'ccache'
pkgname=ccache pkgname=ccache
version=3.1.10 version=3.1.10
revision=1 revision=2
bootstrap=yes bootstrap=yes
build_style=gnu-configure build_style=gnu-configure
makedepends="zlib-devel" makedepends="zlib-devel"
@ -14,7 +14,7 @@ checksum=82b52ac669b6c513617db131631574e32b8df12b75e2fa7a7dc12e6f830f0587
post_install() { post_install() {
vmkdir usr/lib/ccache/bin vmkdir usr/lib/ccache/bin
for f in gcc cc c++ cpp g++; do for f in gcc cc c++ cpp g++ clang clang++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f} ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do for x in arm-linux-gnueabi arm-linux-gnueabihf arm-linux-gnueabihf7; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f} ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}