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