Makes binary smaller when using makefile

This commit is contained in:
sloum 2021-06-25 15:56:37 -07:00
parent a3593a8cce
commit cfb76d0b9d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ MAN1DIR := ${MANDIR}/man1
.PHONY: build
build:
${GOCMD} build -o ${BINARY}
${GOCMD} build -ldflags "-w -s" -o ${BINARY}
.PHONY: install
install: install-bin install-man clean