ccache: update symlinks for cross compilers (thanks pullmoll).
This commit is contained in:
parent
3e2cbbc0ca
commit
742e39f155
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ccache'
|
# Template file for 'ccache'
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
version=3.2.2
|
version=3.2.2
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -16,7 +16,8 @@ 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++; 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 armv7l-linux-gnueabihf \
|
||||||
|
arm-linux-musleabihf armv7l-linux-musleabihf; 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}
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue