Skip to content

Commit

Permalink
Update Makefile (#8544)
Browse files Browse the repository at this point in the history
Allow overriding go binary

On FreeBSD go binaries are installed as go118, go119, go120, etc.

This fixes the ability to build erigon with a command like:

GO=go120 gmake
  • Loading branch information
felddoteth committed Oct 21, 2023
1 parent 7dce126 commit e8c0ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GO = go # if using docker, should not need to be installed/linked
GO ?= go # if using docker, should not need to be installed/linked
GOBIN = $(CURDIR)/build/bin
UNAME = $(shell uname) # Supported: Darwin, Linux
DOCKER := $(shell command -v docker 2> /dev/null)
Expand Down

0 comments on commit e8c0ce3

Please sign in to comment.