From 3559b7f3aa359268c833e3cef05ce653a2f3937a Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 7 Aug 2024 14:38:09 -0600 Subject: [PATCH] Use netgo tag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 11eabf3..77325d3 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ LD_FLAGS = -X github.com/strangelove-ventures/horcrux-proxy/cmd.Version=$(VERSIO LD_FLAGS += $(LDFLAGS) LD_FLAGS := $(strip $(LD_FLAGS)) -BUILD_FLAGS := -trimpath -ldflags '-s -w $(LD_FLAGS)' +BUILD_FLAGS := -tags netgo -trimpath -ldflags '-s -w $(LD_FLAGS)' build: @go build -mod readonly $(BUILD_FLAGS) -o build/ ./...