add LD_OPTS to "go test" (#1115)
This commit is contained in:
parent
6a3adcff0e
commit
6b3e22e99a
|
@ -23,7 +23,7 @@ static: clean
|
||||||
$(GOBUILD) $(LD_OPTS_STATIC) -o $(CROWDSEC_BIN) -v -a -tags netgo
|
$(GOBUILD) $(LD_OPTS_STATIC) -o $(CROWDSEC_BIN) -v -a -tags netgo
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(GOTEST) -v ./...
|
$(GOTEST) $(LD_OPTS) -v ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(CROWDSEC_BIN)
|
rm -f $(CROWDSEC_BIN)
|
||||||
|
|
Loading…
Reference in a new issue