mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
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'
|
# Template file for 'ccache'
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
version=3.7.1
|
version=3.7.1
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_check_args="CC=gcc"
|
make_check_args="CC=gcc"
|
||||||
|
@ -17,6 +17,11 @@ checksum=66fc121a2a33968f9ec428e02f48ff4b8896fbabb759e9c09352267014dcbe65
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/ccache/bin
|
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
|
for f in gcc cc c++ 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 armv7l-linux-gnueabihf \
|
for x in arm-linux-gnueabi arm-linux-gnueabihf armv7l-linux-gnueabihf \
|
||||||
|
|
Loading…
Add table
Reference in a new issue