From 436c814fd41d855c50c366048e2e75cdda90ccfa Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Fri, 12 Mar 2021 14:11:11 +0100 Subject: [PATCH] build-style/go: set GO111MODULE=auto --- common/environment/build-style/go.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/environment/build-style/go.sh b/common/environment/build-style/go.sh index 337b5279d0..6bdf6529a8 100644 --- a/common/environment/build-style/go.sh +++ b/common/environment/build-style/go.sh @@ -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" ;;