Skip to content

Commit

Permalink
Add ldflags
Browse files Browse the repository at this point in the history
Signed-off-by: Gontier Julien <[email protected]>
  • Loading branch information
Gontier-Julien committed Aug 24, 2023
1 parent 2bda149 commit f08eb16
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 f08eb16

Please sign in to comment.