guardiand version is always development

This commit is contained in:
Bruce Riley 2022-05-02 21:31:23 +00:00 committed by Evan Gray
parent eb3b777520
commit 7b9a6f8eb0
1 changed files with 2 additions and 3 deletions

View File

@ -36,8 +36,7 @@ node: $(BIN)/guardiand
.PHONY: $(BIN)/guardiand
$(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}" \
-ldflags '-extldflags "-Wl,--allow-multiple-definition" ' \
@# 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" \
-mod=readonly -o ../$(BIN)/guardiand \
github.com/certusone/wormhole/node