Add ldflags

Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
This commit is contained in:
Gontier Julien 2023-08-24 17:34:20 +02:00
parent 2bda149686
commit f08eb16d0b

View File

@ -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)