ccache: update symlinks for cross compilers (thanks pullmoll).

This commit is contained in:
Juan RP 2015-05-18 15:30:58 +02:00
parent 3e2cbbc0ca
commit 742e39f155
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ccache'
pkgname=ccache
version=3.2.2
revision=2
revision=3
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
@ -16,7 +16,8 @@ post_install() {
vmkdir usr/lib/ccache/bin
for f in gcc cc c++ cpp g++; do
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 armv7l-linux-gnueabihf \
arm-linux-musleabihf armv7l-linux-musleabihf; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
done
done