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
|
@ -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…
Reference in New Issue