mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-14 06:30:59 +00:00
more trimpath for reproducibility
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
PROGNAME = opera-proxy
|
PROGNAME = opera-proxy
|
||||||
OUTSUFFIX = bin/$(PROGNAME)
|
OUTSUFFIX = bin/$(PROGNAME)
|
||||||
VERSION := $(shell git describe)
|
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 = -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)'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user