Skip to content

Commit

Permalink
Merge pull request #152 from Gontier-Julien/ldflags
Browse files Browse the repository at this point in the history
Add ldflags
  • Loading branch information
Jamesits authored Aug 24, 2023
2 parents 2bda149 + f08eb16 commit d00be8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d00be8b

Please sign in to comment.