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:
parent
608f3dc593
commit
a9f6135dce
1 changed files with 6 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue