ccache: add clang symlinks.

This way we can build chromium with ccache.

Signed-off-by: Juan RP <xtraeme@gmail.com>
This commit is contained in:
Juan RP 2019-06-07 18:02:30 +02:00 committed by Helmut Pozimski
parent 608f3dc593
commit a9f6135dce

View file

@ -1,7 +1,7 @@
# Template file for 'ccache'
pkgname=ccache
version=3.7.1
revision=1
revision=2
bootstrap=yes
build_style=gnu-configure
make_check_args="CC=gcc"
@ -17,6 +17,11 @@ checksum=66fc121a2a33968f9ec428e02f48ff4b8896fbabb759e9c09352267014dcbe65
post_install() {
vmkdir usr/lib/ccache/bin
# clang
for f in clang clang++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
done
# gcc
for f in gcc cc c++ g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
for x in arm-linux-gnueabi arm-linux-gnueabihf armv7l-linux-gnueabihf \