fix(makefile): Re-add build tags flag to go build (#12847)

This commit is contained in:
Joshua Powers 2023-03-13 09:08:52 -06:00 committed by GitHub
parent 240c239321
commit d30471c823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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