fix: add CGO_ENABLED=0 for static build to fix cross-platform GLIBC errors

This commit is contained in:
root
2026-02-24 04:19:18 -05:00
parent 8774526616
commit 8405d390df
+1 -1
View File
@@ -14,7 +14,7 @@ GO_VERSION=$(shell $(GO) version | awk '{print $$3}')
LDFLAGS=-ldflags "-X main.version=$(VERSION) -X main.gitCommit=$(GIT_COMMIT) -X main.buildTime=$(BUILD_TIME) -X main.goVersion=$(GO_VERSION) -s -w"
# Go variables
GO?=go
GO?=CGO_ENABLED=0 go
GOFLAGS?=-v -tags stdjson
# Golangci-lint