aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/ccache
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-01-29 00:53:59 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-01-29 00:53:59 +0800
commitd6134c7d713fc2d9b5ccce86a7cfbe9034898147 (patch)
treef47eca63622b7e96d2b7e2f25cf8f274e305d7e0 /repos/extra/ccache
parent294f8b14d6b4018d795753f3eae2f973bf5e399e (diff)
downloadalicelinux-d6134c7d713fc2d9b5ccce86a7cfbe9034898147.tar.gz
alicelinux-d6134c7d713fc2d9b5ccce86a7cfbe9034898147.zip
ccache: fix abuild
Diffstat (limited to 'repos/extra/ccache')
-rw-r--r--repos/extra/ccache/.files2
-rw-r--r--repos/extra/ccache/abuild4
2 files changed, 4 insertions, 2 deletions
diff --git a/repos/extra/ccache/.files b/repos/extra/ccache/.files
index 9bee779f..81245a49 100644
--- a/repos/extra/ccache/.files
+++ b/repos/extra/ccache/.files
@@ -5,5 +5,7 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/ccache/
lrwxrwxrwx root/root usr/lib/ccache/c++ -> /usr/bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/cc -> /usr/bin/ccache
+lrwxrwxrwx root/root usr/lib/ccache/clang -> /usr/bin/ccache
+lrwxrwxrwx root/root usr/lib/ccache/clang++ -> /usr/bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/g++ -> /usr/bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/gcc -> /usr/bin/ccache
diff --git a/repos/extra/ccache/abuild b/repos/extra/ccache/abuild
index 6dbbb4cf..613e1a80 100644
--- a/repos/extra/ccache/abuild
+++ b/repos/extra/ccache/abuild
@@ -1,12 +1,12 @@
name=ccache
version=4.10.2
-release=1
+release=2
source="https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz"
build_opt="-DREDIS_STORAGE_BACKEND=OFF -DENABLE_TESTING=OFF"
postbuild() {
install -d $PKG/usr/lib/ccache
- for c in gcc g++ cc c++; do
+ for c in gcc g++ cc c++ clang clang++; do
ln -s /usr/bin/ccache $PKG/usr/lib/ccache/$c
done
}