From 260cb7de3c23a40862e94e72f80dd003249f4f98 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 24 May 2014 11:09:09 +0200 Subject: [PATCH] ccache: create cross toolchain symlinks too. --- srcpkgs/ccache/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ccache/template b/srcpkgs/ccache/template index 27de688f0d3..c85be2c9ddc 100644 --- a/srcpkgs/ccache/template +++ b/srcpkgs/ccache/template @@ -1,7 +1,7 @@ # Template file for 'ccache' pkgname=ccache version=3.1.9 -revision=2 +revision=3 bootstrap=yes build_style=gnu-configure makedepends="zlib-devel" @@ -16,5 +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 + ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f} + done done }