Skip to content

Commit

Permalink
make static binary
Browse files Browse the repository at this point in the history
  • Loading branch information
aerth committed May 1, 2020
1 parent 90e95cf commit 050355b
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
@@ -1,4 +1,4 @@
buildflags := -ldflags "-X main.Version=$(shell git describe --abbrev=4 --dirty --always --tags)"
buildflags := -ldflags "-w -s -X main.Version=$(shell git describe --abbrev=4 --dirty --always --tags)" -tags netgo,osusergo
gdoc2pdf: *.go
go build -o $@ $(buildflags)
clean:
Expand Down

0 comments on commit 050355b

Please sign in to comment.