more trimpath for reproducibility
This commit is contained in:
parent
5280b0414d
commit
c948e18a3e
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
PROGNAME = dumbproxy
|
||||
OUTSUFFIX = bin/$(PROGNAME)
|
||||
VERSION := $(shell git describe)
|
||||
BUILDOPTS = -a -tags netgo -trimpath
|
||||
BUILDOPTS = -a -tags netgo -trimpath -asmflags -trimpath
|
||||
LDFLAGS = -ldflags '-s -w -extldflags "-static" -X main.version=$(VERSION)'
|
||||
LDFLAGS_NATIVE = -ldflags '-s -w -X main.version=$(VERSION)'
|
||||
|
||||
|
|
Loading…
Reference in New Issue