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:
Ralf Haferkamp 2014-01-20 22:40:58 +01:00
parent f8081bbd83
commit 831cd69790

View 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