GOCC variable should be employed in makefiles #6489
Labels
feature request
Requests for new features
golang/build system
Related to the go language and compiler
I compile lnd on raspberry pi which by default has no go>=1.17.
I installed go.1.18.1 with
go get golang.org/dl/go1.18.1
go1.18.1 download
But now my go binary is
go1.18.1
, notgo
. So the lnd makefiles fail.I had to work around with:
sed -i "s/go /go1.18.1 /g" Makefile
But I would much more prefer to do:
GOCC=go1.18.1 make install
, just as inipfs
makefiles.The text was updated successfully, but these errors were encountered: