Merge pull request #152 from Gontier-Julien/ldflags

Add ldflags
This commit is contained in:
Jamesits
2023-08-24 08:43:38 -07:00
committed by GitHub

View File

@@ -3,9 +3,9 @@
PREFIX = /usr/local
ifeq ($(GOROOT),)
GOBUILD = go build
GOBUILD = go build -ldflags "-s -w"
else
GOBUILD = $(GOROOT)/bin/go build
GOBUILD = $(GOROOT)/bin/go build -ldflags "-s -w"
endif
ifeq ($(shell uname),Darwin)