fix(makefile): Re-add build tags flag to go build (#12847)
This commit is contained in:
parent
240c239321
commit
d30471c823
2
Makefile
2
Makefile
|
|
@ -127,7 +127,7 @@ docs: build_tools embed_readme_inputs embed_readme_outputs embed_readme_processo
|
|||
|
||||
.PHONY: build
|
||||
build:
|
||||
CGO_ENABLED=0 go build -ldflags "$(LDFLAGS)" ./cmd/telegraf
|
||||
CGO_ENABLED=0 go build -tags "$(BUILDTAGS)" -ldflags "$(LDFLAGS)" ./cmd/telegraf
|
||||
|
||||
.PHONY: telegraf
|
||||
telegraf: build
|
||||
|
|
|
|||
Loading…
Reference in New Issue