Makefile: set CGO_ENABLED=1
This is required for building the guardiand binary
This commit is contained in:
parent
03dc4c5c7d
commit
fc39351b71
1
Makefile
1
Makefile
|
@ -35,6 +35,7 @@ generate: dirs
|
|||
node: $(BIN)/guardiand
|
||||
|
||||
.PHONY: $(BIN)/guardiand
|
||||
$(BIN)/guardiand: CGO_ENABLED=1
|
||||
$(BIN)/guardiand: dirs generate
|
||||
@# The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols.
|
||||
cd node && go build -ldflags "-X github.com/certusone/wormhole/node/pkg/version.version=${VERSION} -extldflags -Wl,--allow-multiple-definition" \
|
||||
|
|
Loading…
Reference in New Issue