build: extra ldflags
This commit is contained in:
parent
6b4334cfc8
commit
b0195be43d
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user