From 332bf7d4de5172e9fa789e5fff20ea0e373c191a Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Tue, 4 Feb 2025 08:38:39 -0500 Subject: [PATCH] build: CGO_ENABLED=0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a724529..0b03ee1 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ FLAGS := "-s -w -X main.Version=$(VERSION)" all: build build: - $(foreach APP,$(APPS), go build -ldflags=$(FLAGS) -o $(BUILD_DIR)/$(APP) ./cmd/$(APP);) + $(foreach APP,$(APPS), CGO_ENABLED=0 go build -ldflags=$(FLAGS) -o $(BUILD_DIR)/$(APP) ./cmd/$(APP);) clean: rm -rf $(BUILD_DIR)/*