Skip to content

Commit

Permalink
Use netgo tag (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin authored Aug 8, 2024
1 parent ddc0ad6 commit bc8aec6
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 bc8aec6

Please sign in to comment.