File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ SERVICE_NAME_BOOTNODE = bootnode
6
6
SERVICE_NAME_MINER = miner
7
7
BIN_REVISION_STRING := $(shell git show -s --pretty=format:% h)
8
8
GIT_TIME := $(shell git show -s --pretty=format:% cI)
9
+ GO_PROXY := $(shell go env GOPROXY)
9
10
10
11
build_linux_node :
11
- xgo2 --targets=linux/amd64 -ldflags " -s -w -X 'main.gitCommit=${BIN_REVISION_STRING} ' -X 'main.gitDate=${GIT_TIME} '" -out geth --pkg=${ENTRY_FILE_GETH_DIR} ${PROJECT_ROOT_DIR}
12
+ xgo2 --goproxy= " ${GO_PROXY} " -- targets=linux/amd64 -ldflags " -s -w -X 'main.gitCommit=${BIN_REVISION_STRING} ' -X 'main.gitDate=${GIT_TIME} '" -out geth --pkg=${ENTRY_FILE_GETH_DIR} ${PROJECT_ROOT_DIR}
12
13
13
14
devtools :
14
- go get -u github.com/youchainhq /xgo2
15
+ go get -u github.com/stars-labs /xgo2
15
16
16
17
all : docker_bootnode docker_miner
17
18
You can’t perform that action at this time.
0 commit comments