From 9aedb75ac6c25cab6c3a1a9d9c053fd5d07e16b3 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 10 Jun 2025 07:45:49 +0200 Subject: [PATCH] ccache: build for cygwin --- ccache/PKGBUILD | 2 +- ccache/ccache.install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccache/PKGBUILD b/ccache/PKGBUILD index 37b0efca..28a987f5 100644 --- a/ccache/PKGBUILD +++ b/ccache/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ccache pkgver=4.11.3 -pkgrel=1 +pkgrel=2 pkgdesc="A compiler cache (mingw-w64)" arch=('i686' 'x86_64') url="https://ccache.samba.org/" diff --git a/ccache/ccache.install b/ccache/ccache.install index 12e62880..79559923 100644 --- a/ccache/ccache.install +++ b/ccache/ccache.install @@ -1,6 +1,6 @@ post_install() { mkdir -p /usr/lib/ccache/bin - for compiler in c++ cc cpp gcc g++ {i686,x86_64}-{pc-msys,w64-mingw32}-{g++,c++,gcc}; do + for compiler in c++ cc cpp gcc g++ {i686,x86_64}-{pc-cygwin,w64-mingw32}-{g++,c++,gcc}; do MSYS='winsymlinks:lnk' ln -sf /usr/bin/ccache /usr/lib/ccache/bin/${compiler} done }