build-style/go: set GO111MODULE=auto
This commit is contained in:
parent
a4c6288ff2
commit
436c814fd4
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ export CGO_CPPFLAGS="$CPPFLAGS"
|
|||
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||
export CGO_LDFLAGS="$LDFLAGS"
|
||||
export CGO_ENABLED=1
|
||||
export GO111MODULE=auto
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;;
|
||||
*) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;
|
||||
|
|
Loading…
Reference in a new issue