ccache: Clang support

This commit is contained in:
Dylan Araps 2020-03-08 23:05:16 +02:00
parent ee1a1241d0
commit 2011658401
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ install -Dm 644 doc/ccache.1 "$1/usr/share/man/man1/ccache.1"
mkdir -p "$1/usr/lib/ccache/bin"
triplet=$(cc -dumpmachine)
host=$(cc -dumpmachine)
for link in cc gcc g++ cpp c++ "$triplet-cc" "$triplet-gcc" \
"$triplet-g++" "$triplet-cpp" "$triplet-c++"; do
for link in cc gcc g++ cpp c++ clang clang++ \
"$host-cc" "$host-gcc" "$host-g++" "$host-cpp" "$host-c++"; do
ln -sf /usr/bin/ccache "$1/usr/lib/ccache/bin/$link"
done

View File

@ -1 +1 @@
3.7.7 1
3.7.7 2