Преглед на файлове

Makefile: set CGO_ENABLED=1

This is required for building the guardiand binary
cs преди 2 години
родител
ревизия
fc39351b71
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      Makefile

+ 1 - 0
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" \