Fix build-for-docker Makefile target syntax.

closes #819
This commit is contained in:
Chris Goller 2016-03-09 11:50:06 -06:00 committed by Cameron Sparr
parent aa15e7916e
commit 3f2a04b25b
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ build-windows:
./cmd/telegraf/telegraf.go ./cmd/telegraf/telegraf.go
build-for-docker: build-for-docker:
CGO_ENABLED=0 GOOS=linux go -o telegraf -ldflags \ CGO_ENABLED=0 GOOS=linux go build -installsuffix cgo -o telegraf -ldflags \
"-X main.Version=$(VERSION)" \ "-s -X main.Version=$(VERSION)" \
./cmd/telegraf/telegraf.go ./cmd/telegraf/telegraf.go
# Build with race detector # Build with race detector