Skip to content

Commit

Permalink
fix go build issue with missing -ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronelliott committed Sep 27, 2021
1 parent 360a1af commit a1b3356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ os = $(word 1, $(temp))
arch = $(word 2, $(temp))
binname = dist/$(os)-$(arch)
bintarname = $(binname).tar.gz
goflags = -X main.Version="$(VER)"
goflags = -ldflags "-X main.Version=$(VER)"

binbuild: cleardist $(PLATFORMS)
test "$$(git describe --tags)" = "$(VER)"
Expand Down

0 comments on commit a1b3356

Please sign in to comment.