mirror of
https://github.com/m13253/dns-over-https.git
synced 2024-09-21 07:47:09 +00:00
Add ldflags
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
This commit is contained in:
parent
2bda149686
commit
f08eb16d0b
4
Makefile
4
Makefile
@ -3,9 +3,9 @@
|
|||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
|
||||||
ifeq ($(GOROOT),)
|
ifeq ($(GOROOT),)
|
||||||
GOBUILD = go build
|
GOBUILD = go build -ldflags "-s -w"
|
||||||
else
|
else
|
||||||
GOBUILD = $(GOROOT)/bin/go build
|
GOBUILD = $(GOROOT)/bin/go build -ldflags "-s -w"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(shell uname),Darwin)
|
ifeq ($(shell uname),Darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user