From f97e4b3a9fcd7211d83944764aaf47a19cf2e41a Mon Sep 17 00:00:00 2001 From: syntrust Date: Fri, 15 Mar 2024 11:32:45 +0800 Subject: [PATCH] disable cgo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cba46cbe..1ad21958 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ es-node: build mkdir -p build/bin/snarkbuild build: - env GO111MODULE=on GOOS=$(TARGETOS) GOARCH=$(TARGETARCH) go build -v $(LDFLAGS) -o build/bin/es-node ./cmd/es-node/ + env GO111MODULE=on CGO_ENABLED=0 GOOS=$(TARGETOS) GOARCH=$(TARGETARCH) go build -v $(LDFLAGS) -o build/bin/es-node ./cmd/es-node/ clean: rm -r build