From 6b3e22e99ab3a4c9200875dc6d95062a711d4fbd Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Tue, 21 Dec 2021 10:21:34 +0100 Subject: [PATCH] add LD_OPTS to "go test" (#1115) --- cmd/crowdsec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crowdsec/Makefile b/cmd/crowdsec/Makefile index 9980b9004..6e636c1cc 100644 --- a/cmd/crowdsec/Makefile +++ b/cmd/crowdsec/Makefile @@ -23,7 +23,7 @@ static: clean $(GOBUILD) $(LD_OPTS_STATIC) -o $(CROWDSEC_BIN) -v -a -tags netgo test: - $(GOTEST) -v ./... + $(GOTEST) $(LD_OPTS) -v ./... clean: rm -f $(CROWDSEC_BIN)