Skip to content

Commit 5f3a8bc

Browse files
committed
Updated Makefile
1 parent 7b3a67c commit 5f3a8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GIT_DATE := $(shell git log -1 --date=short --pretty='%cd' | tr -d -)
22
GIT_HASH := $(shell git rev-parse HEAD)
33

4-
BUILD_FLAGS := -trimpath -ldflags "-X main.gitDate=$(GIT_DATE) -X main.gitHash=$(GIT_HASH)"
4+
BUILD_FLAGS := -trimpath -ldflags "-w -s -X main.gitDate=$(GIT_DATE) -X main.gitHash=$(GIT_HASH)"
55

66
PLATFORMS := linux/amd64 linux/386 linux/arm darwin/amd64 windows/amd64 windows/386 openbsd/amd64
77
SOURCES := $(shell find . -maxdepth 1 -type f -name "*.go")

0 commit comments

Comments
 (0)