From 2d10654be2c3056103a97a2e3f876f307808f522 Mon Sep 17 00:00:00 2001 From: Gnought <1684105+gnought@users.noreply.github.com> Date: Sat, 30 Nov 2019 19:19:44 +0800 Subject: [PATCH] Update Makefile (#448) 1. Statically linked and reduce size 2. Make it more verbose 3. Force rebuild packages if already up-to-date --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5c03d0d..3fac89c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME=gost BINDIR=bin VERSION=$(shell cat gost.go | grep 'Version =' | sed 's/.*\"\(.*\)\".*/\1/g') -GOBUILD=CGO_ENABLED=0 go build +GOBUILD=CGO_ENABLED=0 go build --ldflags="-s -w" -v -x -a GOFILES=cmd/gost/* PLATFORM_LIST = \