Setup ccache symlinks on openSUSE
openSUSE's ccache package doesn't include symlinks to enable ccache for gcc by default, so we set them up manually. Change-Id: I79dbe814ff2dfad8158fb1f06d68cc07eae19a41
This commit is contained in:
parent
f8081bbd83
commit
831cd69790
9
elements/opensuse/install.d/01-ccache-symlinks
Executable file
9
elements/opensuse/install.d/01-ccache-symlinks
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Setup ccache symlinks, as openSUSE's ccache package doesn't
|
||||||
|
# include them.
|
||||||
|
mkdir -p /usr/lib/ccache
|
||||||
|
for tool in cc gcc; do
|
||||||
|
ln -s /usr/bin/ccache /usr/lib/ccache/$tool
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user