build-style/go: don't set GOBIN

Go 1.5 doesn't permit our use of GOBIN anymore, breaking
cross-compilation (for details, see
https://github.com/golang/go/issues/9769)

In retrospect, I'm not sure why we set GOBIN in the first place;
GOPATH/bin should suffice.

Closes #2337
This commit is contained in:
Dominik Honnef 2015-08-22 20:42:02 +02:00
parent 85498fb8e0
commit 2bb87e4e07
3 changed files with 3 additions and 5 deletions

View file

@ -12,4 +12,3 @@ case "$XBPS_TARGET_MACHINE" in
esac
export GOPATH="${wrksrc}/_build-${pkgname}-xbps"
export GOBIN="${wrksrc}/_build-${pkgname}-xbps-bin"