mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-04-22 14:39:09 +00:00
more trimpath for reproducibility
This commit is contained in:
parent
2581ac09f9
commit
11f84271cd
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
PROGNAME = opera-proxy
|
||||
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…
Add table
Reference in a new issue