Re: [go-nuts] What are the consequences of go install -ldflags "-s"

2016-11-04 Thread Nick Craig-Wood
On 04/11/16 14:55, Ian Lance Taylor wrote: > On Fri, Nov 4, 2016 at 7:39 AM, Nick Craig-Wood wrote: >> I know I can build go binaries passing the `-s` flag to the linker to >> strip them and make them smaller. In my tests (with rclone) it makes it >> 60% of the size so a significant saving. I'd l

Re: [go-nuts] What are the consequences of go install -ldflags "-s"

2016-11-04 Thread Ian Lance Taylor
On Fri, Nov 4, 2016 at 7:39 AM, Nick Craig-Wood wrote: > I know I can build go binaries passing the `-s` flag to the linker to > strip them and make them smaller. In my tests (with rclone) it makes it > 60% of the size so a significant saving. I'd like to enable this for > binaries I distribute t

[go-nuts] What are the consequences of go install -ldflags "-s"

2016-11-04 Thread Nick Craig-Wood
I know I can build go binaries passing the `-s` flag to the linker to strip them and make them smaller. In my tests (with rclone) it makes it 60% of the size so a significant saving. I'd like to enable this for binaries I distribute to end users. go install -ldflags "-s" However what are the c