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