From c0902cd831eaf972103896a40de1caa89ff0def2 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 28 Sep 2023 11:58:48 -0400 Subject: [PATCH] fix(ci): static compile by disabling cgo Signed-off-by: Chris Gianelloni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 878cdf8..452ee9f 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ test: mod-tidy # Build our program binaries # Depends on GO_FILES to determine when rebuild is needed $(BINARIES): mod-tidy $(GO_FILES) - go build \ + CGO_ENABLED=0 go build \ $(GO_LDFLAGS) \ -tags nodbus \ -o $(@) \