mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-02 02:30:21 +00:00
reproducible build
This commit is contained in:
parent
34f264c93d
commit
5e6a7ddf6e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
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…
Add table
Reference in a new issue