Skip to content

Commit

Permalink
Fix build-for-docker Makefile target syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
goller authored and sparrc committed Mar 9, 2016
1 parent aa15e79 commit 3f2a04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ build-windows:
./cmd/telegraf/telegraf.go

build-for-docker:
CGO_ENABLED=0 GOOS=linux go -o telegraf -ldflags \
"-X main.Version=$(VERSION)" \
CGO_ENABLED=0 GOOS=linux go build -installsuffix cgo -o telegraf -ldflags \
"-s -X main.Version=$(VERSION)" \
./cmd/telegraf/telegraf.go

# Build with race detector
Expand Down

0 comments on commit 3f2a04b

Please sign in to comment.