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.
|
# Never honor GOBIN, should it be set at all.
|
||||||
unexport GOBIN
|
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
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
||||||
GOURL ?= https://golang.org/dl
|
GOURL ?= https://golang.org/dl
|
||||||
GOROOT = $(BUILD_PATH)/root/go
|
GOROOT = $(BUILD_PATH)/root/go
|
||||||
|
|
Loading…
Reference in New Issue