chore: Add build tags to buildbin Makefile target (#14034)
This commit is contained in:
parent
aa2990d792
commit
72fad0ed4d
2
Makefile
2
Makefile
|
|
@ -274,7 +274,7 @@ install: $(buildbin)
|
||||||
$(buildbin):
|
$(buildbin):
|
||||||
echo $(GOOS)
|
echo $(GOOS)
|
||||||
@mkdir -pv $(dir $@)
|
@mkdir -pv $(dir $@)
|
||||||
CGO_ENABLED=0 go build -o $(dir $@) -ldflags "$(LDFLAGS)" ./cmd/telegraf
|
CGO_ENABLED=0 go build -o $(dir $@) -tags "$(BUILDTAGS)" -ldflags "$(LDFLAGS)" ./cmd/telegraf
|
||||||
|
|
||||||
# Define packages Telegraf supports, organized by architecture with a rule to echo the list to limit include_packages
|
# Define packages Telegraf supports, organized by architecture with a rule to echo the list to limit include_packages
|
||||||
# e.g. make package include_packages="$(make amd64)"
|
# e.g. make package include_packages="$(make amd64)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue