Fix Go download path for x86-based architectures.

This fixes https://github.com/prometheus/prometheus/issues/503.
This commit is contained in:
Julius Volz 2015-02-05 16:03:45 +01:00
parent 82613527f3
commit 753113f21a
1 changed files with 1 additions and 1 deletions

View File

@ -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