Skip to content

Commit

Permalink
Use netgo tag
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Aug 7, 2024
1 parent ddc0ad6 commit 3559b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ ./...
Expand Down

0 comments on commit 3559b7f

Please sign in to comment.