Fix build-for-docker Makefile target syntax.

This commit is contained in:
Chris Goller 2016-03-09 11:50:06 -06:00
parent 2f45b8b7f5
commit 34c8b842c0
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