mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Fix Go download path for x86-based architectures.
This fixes https://github.com/prometheus/prometheus/issues/503.
This commit is contained in:
parent
82613527f3
commit
753113f21a
|
@ -38,7 +38,7 @@ endif
|
|||
# Never honor GOBIN, should it be set at all.
|
||||
unexport GOBIN
|
||||
|
||||
GOARCH = $(subst x86_64,amd64,$(ARCH))
|
||||
GOARCH = $(subst x86_64,amd64,$(patsubst i%86,386,$(ARCH)))
|
||||
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
||||
GOURL ?= https://golang.org/dl
|
||||
GOROOT = $(BUILD_PATH)/root/go
|
||||
|
|
Loading…
Reference in a new issue