mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
build style go.sh: split gocache for glibc/muslc
Closes: #2542 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
f57cb99bb8
commit
e9cbfacb5a
1 changed files with 4 additions and 1 deletions
|
@ -17,4 +17,7 @@ export CGO_CPPFLAGS="$CPPFLAGS"
|
|||
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||
export CGO_LDFLAGS="$LDFLAGS"
|
||||
export CGO_ENABLED=1
|
||||
export GOCACHE="${XBPS_HOSTDIR}/gocache"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;;
|
||||
*) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue