Skip to content

Commit

Permalink
improve build repeatability
Browse files Browse the repository at this point in the history
still not quite there, but this should make it a bit easier

refs #2
  • Loading branch information
costela committed Mar 29, 2019
1 parent 78a05dd commit e4a22c7
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,6 +1,6 @@
VERSION=`git describe --tags --dirty --always`

GOFLAGS=-ldflags "-X main.version=${VERSION}" -asmflags -trimpath
GOFLAGS=-ldflags "-X main.version=${VERSION}" -gcflags=all=-trimpath=$(PWD) -asmflags=all=-trimpath=$(PWD)

build:
GOARCH=amd64 go build ${GOFLAGS} -o wesher-amd64 ${OPTS}
Expand Down

0 comments on commit e4a22c7

Please sign in to comment.