From 5f4acea7e9f7bc7e72f26cf9a2adc2e7a87f8384 Mon Sep 17 00:00:00 2001 From: Bjoern Rabenstein Date: Fri, 30 Jan 2015 16:52:35 +0100 Subject: [PATCH] Ignore GOBIN in Makefiles. --- Makefile.INCLUDE | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.INCLUDE b/Makefile.INCLUDE index 898b948fb..271b8f32c 100644 --- a/Makefile.INCLUDE +++ b/Makefile.INCLUDE @@ -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