Makefile: Fix binary ldflags missing

This commit is contained in:
Andrey Petrov 2020-01-06 20:14:32 -05:00
parent 5af617f3b9
commit d8e68d57bc

View File

@ -9,7 +9,7 @@ LDFLAGS = -X main.Version=$(VERSION) -extldflags "-static"
all: $(BINARY)
$(BINARY): **/**/*.go **/*.go *.go
go build $(BUILDFLAGS) ./cmd/ssh-chat
go build -ldflags "$(LDFLAGS)" ./cmd/ssh-chat
build: $(BINARY)