chore: disable cgo (#601)

This commit is contained in:
Aveline
2025-06-12 09:29:31 +02:00
committed by GitHub
parent 4bfbc66ea7
commit c494cf26ef

View File

@@ -15,7 +15,7 @@ GO_LDFLAGS := \
-X $(PROMETHEUS_TAG).Revision=$(REVISION) \
-X $(KVM_PKG_NAME).builtTimestamp=$(BUILDTS)
GO_CMD := GOOS=linux GOARCH=arm GOARM=7 go
GO_CMD := GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go
BIN_DIR := $(shell pwd)/bin
TEST_DIRS := $(shell find . -name "*_test.go" -type f -exec dirname {} \; | sort -u)