From b26d6e6cf649af2b44fafa5eae33dd728afb1946 Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Sat, 6 Apr 2024 21:25:34 -0300 Subject: [PATCH] fix: no CGO --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a0995a6..b4b227ee 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ dist: deps-install dist/darwin dist/linux dist/windows ## build all cli versions dist-internal: mkdir -p dist/$(goos) - GOOS=$(goos) GOARCH=$(goarch) go build -o dist/$(goos)/clockify-cli $(MAIN_PKG) + CGO_ENABLED=0 GOOS=$(goos) GOARCH=$(goarch) go build -o dist/$(goos)/clockify-cli $(MAIN_PKG) dist/darwin: make dist-internal goos=darwin goarch=amd64