summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-04-13 17:24:32 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2022-05-17 13:41:17 -0700
commit2b54bf3e64f1969dea1fac79365d0b84aa6714a9 (patch)
treefe15bfb5544f917c3ca3a65258633b6a1585214d /Makefile
parent11d3cf26977538b1ee20ea331e0f14e995d7f550 (diff)
downloadpodman-2b54bf3e64f1969dea1fac79365d0b84aa6714a9.tar.gz
podman-2b54bf3e64f1969dea1fac79365d0b84aa6714a9.tar.bz2
podman-2b54bf3e64f1969dea1fac79365d0b84aa6714a9.zip
Move GOPROXY from Makefile to cirrus.yml
GOPROXY's default value is "https://proxy.golang.org,direct" since go 1.13, so it is redundant to set it explicitly. For some reason though, GOPROXY in Cirrus CI is set to direct, which makes things such as go mod tidy very slow. So, set the proper (default) value for in in .cirrus.yml. Do the same for GOSUMDB. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ff3e69087..57b8035be 100644
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,6 @@
### Variables & Definitions
###
-export GOPROXY=https://proxy.golang.org
-
GO ?= go
GO_LDFLAGS:= $(shell if $(GO) version|grep -q gccgo ; then echo "-gccgoflags"; else echo "-ldflags"; fi)
GOCMD = CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) GOARCH=$(GOARCH) $(GO)