From 19c51f6bc74b8152b2b8a87f92240747387b0f6f Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Mon, 16 Oct 2023 22:17:59 +0900 Subject: [PATCH] disable cgo. fixes #154. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59dfa34..392f96f 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CREDITS: go.sum devel-deps .PHONY: crossbuild crossbuild: CREDITS - godzil crossbuild -pv=v${VERSION} -build-ldflags=$(BUILD_LDFLAGS) \ + CGO_ENABLED=0 godzil crossbuild -pv=v${VERSION} -build-ldflags=$(BUILD_LDFLAGS) \ -arch=amd64,arm64 -os=windows,darwin,linux,freebsd -d=./pkg/dist/v${VERSION} cd pkg/dist/v${VERSION} && shasum -a 256 * > ./v${VERSION}_SHASUMS