add LD_OPTS to "go test" (#1115)

This commit is contained in:
mmetc 2021-12-21 10:21:34 +01:00 committed by GitHub
parent 6a3adcff0e
commit 6b3e22e99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)