Skip to content

Commit c494cf2

Browse files
authored
chore: disable cgo (#601)
1 parent 4bfbc66 commit c494cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GO_LDFLAGS := \
1515
-X $(PROMETHEUS_TAG).Revision=$(REVISION) \
1616
-X $(KVM_PKG_NAME).builtTimestamp=$(BUILDTS)
1717

18-
GO_CMD := GOOS=linux GOARCH=arm GOARM=7 go
18+
GO_CMD := GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go
1919
BIN_DIR := $(shell pwd)/bin
2020

2121
TEST_DIRS := $(shell find . -name "*_test.go" -type f -exec dirname {} \; | sort -u)

0 commit comments

Comments
 (0)