Merge pull request #492 from prometheus/beorn7/makefile

Ignore GOBIN in Makefiles.
This commit is contained in:
Björn Rabenstein 2015-01-31 00:40:41 +01:00
commit 75422f5306

View file

@ -35,6 +35,9 @@ else
RELEASE_SUFFIX ?= RELEASE_SUFFIX ?=
endif endif
# Never honor GOBIN, should it be set at all.
unexport GOBIN
GOARCH = $(subst x86_64,amd64,$(ARCH)) GOARCH = $(subst x86_64,amd64,$(ARCH))
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
GOURL ?= http://golang.org/dl GOURL ?= http://golang.org/dl