Re: [go-nuts] Remove GOPATH from binary

2017-09-15 Thread David Crawshaw
This may be https://golang.org/issue/21720. Does it work with Go 1.8? On Fri, Sep 15, 2017 at 12:48 AM, Chandru wrote: > How do I remove the actual value of GOPATH from executable binary? > > I tried the following command, but my home directory continued to appear > when I ran strings on the bina

[go-nuts] Remove GOPATH from binary

2017-09-14 Thread Chandru
How do I remove the actual value of GOPATH from executable binary? I tried the following command, but my home directory continued to appear when I ran strings on the binary. go install -gcflags -trimpath=$GOPATH -asmflags -trimpath=$GOPATH -- Chandra Sekar.S -- You received this message becaus