From 98774d60e2a7cea5ddc2776b45e31814daa10e4e Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 21 Aug 2017 14:44:53 -0700 Subject: [PATCH] Cache intermediate objects during build (cherry picked from commit ccf17a9f932820aceb57c82770cf4fb67a37a7bb) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a82048b6b..bf4c8dfec 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ deps: gdm restore telegraf: - go build -o $(TELEGRAF) -ldflags "$(LDFLAGS)" ./cmd/telegraf/telegraf.go + go build -i -o $(TELEGRAF) -ldflags "$(LDFLAGS)" ./cmd/telegraf/telegraf.go go-install: go install -ldflags "-w -s $(LDFLAGS)" ./cmd/telegraf