diff --git a/Makefile b/Makefile index e312f3cc3..69d47da9f 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ GOFLAGS=-mod=mod GIT_SHA=$(shell git rev-parse --short HEAD) GIT_COMMIT=$(shell git rev-parse HEAD) +TAGS=-tags timetzdata PROJECT_ROOT = $(shell pwd) ARTIFACTS = ${PROJECT_ROOT}/artifacts @@ -103,7 +104,8 @@ build: CGO_ENABLED=0 \ go build \ -ldflags "-X github.com/observiq/stanza/version.GitTag=${GIT_TAG} -X github.com/observiq/stanza/version.GitCommit=${GIT_COMMIT}" \ - -o ../../artifacts/stanza_$(GOOS)_$(GOARCH) .) + -o ../../artifacts/stanza_$(GOOS)_$(GOARCH) \ + $(TAGS) .) .PHONY: install install: