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
1 changed files with 3 additions and 0 deletions

View File

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