ccache: build for cygwin
This commit is contained in:
parent
526878ec38
commit
9aedb75ac6
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
pkgname=ccache
|
pkgname=ccache
|
||||||
pkgver=4.11.3
|
pkgver=4.11.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A compiler cache (mingw-w64)"
|
pkgdesc="A compiler cache (mingw-w64)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://ccache.samba.org/"
|
url="https://ccache.samba.org/"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
mkdir -p /usr/lib/ccache/bin
|
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}
|
MSYS='winsymlinks:lnk' ln -sf /usr/bin/ccache /usr/lib/ccache/bin/${compiler}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user