Merge pull request #152 from Gontier-Julien/ldflags

Add ldflags
This commit is contained in:
Jamesits authored and GitHub committed 2023-08-24 08:43:38 -07:00
commit d00be8b698
1 file changed
+2 -2
+2 -2
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)