From bc8aec6c4b82c8162e117ddcad3f3a01532f3478 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 7 Aug 2024 21:10:29 -0600 Subject: [PATCH] Use netgo tag (#15) --- 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/ ./...