Skip to content

Commit

Permalink
SQUASH: ccache: add more cross compiler symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Piraty committed Oct 27, 2023
1 parent 732b344 commit fcbfa94
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions srcpkgs/ccache/template
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,27 @@ post_install() {
# gcc
for f in gcc cc c++ g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
# cross compilers
for x in \
aarch64-linux-gnu \
aarch64-linux-musl \
arm-linux-gnueabi \
arm-linux-gnueabihf \
arm-linux-musleabi \
arm-linux-musleabihf \
arm-none-eabi \
armv7l-linux-gnueabihf \
armv7l-linux-musleabihf \
avr \
i686-linux-musl \
i686-pc-linux-gnu \
i686-w64-mingw32 \
mips-linux-musl \
mips-linux-muslhf \
mipsel-linux-musl \
mipsel-linux-muslhf \
musl-gcc \
or1k-none-elf \
powerpc-linux-gnu \
powerpc-linux-musl \
powerpc64-linux-gnu \
Expand All @@ -55,6 +62,11 @@ post_install() {
powerpc64le-linux-musl \
powerpcle-linux-gnu \
powerpcle-linux-musl \
riscv64-linux-gnu \
riscv64-linux-musl \
x86_64-linux-gnu \
x86_64-linux-musl \
x86_64-w64-mingw32 \
; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${x}-${f}
done
Expand Down

0 comments on commit fcbfa94

Please sign in to comment.