build: extra ldflags

This commit is contained in:
mappu 2018-11-07 18:57:11 +13:00
parent 6b4334cfc8
commit b0195be43d

View File

@ -10,7 +10,7 @@ clean:
rm -f ./nmdc-telegramfrontend
nmdc-telegramfrontend: *.go Gopkg.*
GOOS=linux GOARCH=amd64 go build
GOOS=linux GOARCH=amd64 go build -ldflags '-s -w'
dist: dist/nmdc-telegramfrontend-$(VERSION)-linux64.tar.xz dist/nmdc-telegramfrontend-$(VERSION)-src.tar.bz2