Don't assume the go root

The go root might be in different places if the user is using
a different go binary that is not managed by the system (eg
/usr/local/bin/go). In this case the go binary should be smart enough to
default to it's own go root. Or if there are still problems, it is on
the user to configure it themselves.
This commit is contained in:
morganamilo 2018-09-07 18:55:24 +01:00
parent 6e0797a8c7
commit 81bccfd34e
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -16,7 +16,6 @@ BINNAME := yay
PACKAGE := ${PKGNAME}_${VERSION}_${ARCH}
export GOPATH=$(shell pwd)/.go
export GOROOT=/usr/lib/go
default: build