Skip to content

Commit

Permalink
Makefile: set CGO_ENABLED=1
Browse files Browse the repository at this point in the history
This is required for building the guardiand binary
  • Loading branch information
kcsongor authored and evan-gray committed Oct 26, 2023
1 parent 03dc4c5 commit fc39351
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit fc39351

Please sign in to comment.