From cfb76d0b9d5d13b4c6d9654a369ef11d1a27d41f Mon Sep 17 00:00:00 2001 From: sloum Date: Fri, 25 Jun 2021 15:56:37 -0700 Subject: [PATCH] Makes binary smaller when using makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99749f4..028ed26 100644 --- a/Makefile +++ b/Makefile @@ -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