From 7ce9731a8ea6756e4eacda2284b7cb122c2d35e7 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Thu, 3 Jun 2021 11:00:10 +0800 Subject: [PATCH] add CGO_ENABLED=0 in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16fdd9ba..2cbf005a 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ ifeq ($(FIPS), true) mv fips/fips.go.linux-amd64 fips/fips.go endif - GOOS=$(TARGET_OS) GOARCH=$(TARGET_ARCH) go build -v -mod=vendor $(GO_BUILD_TAGS) $(VERSION_FLAGS) $(IMPORT_PATH)/cmd/cloudflared + CGO_ENABLED=0 GOOS=$(TARGET_OS) GOARCH=$(TARGET_ARCH) go build -v -mod=vendor $(GO_BUILD_TAGS) $(VERSION_FLAGS) $(IMPORT_PATH)/cmd/cloudflared ifeq ($(FIPS), true) mv fips/fips.go fips/fips.go.linux-amd64