Re: [go-nuts] golang and linking

2017-09-22 Thread willow.pine.2011
Thanks. That is what I am looking for. On Thu, Sep 21, 2017 at 8:49 PM, Ian Lance Taylor wrote: > On Thu, Sep 21, 2017 at 3:25 PM, wrote: > > Hi, I have a project which requires multiple --ldflags or -ldflags. I > > noticed that go build only uses the last --ldflags of the commandline. Is > >

Re: [go-nuts] golang and linking

2017-09-21 Thread Ian Lance Taylor
On Thu, Sep 21, 2017 at 3:25 PM, wrote: > Hi, I have a project which requires multiple --ldflags or -ldflags. I > noticed that go build only uses the last --ldflags of the commandline. Is > there a way to pass multiple --ldflags and have them all be in effect? Use -ldflags once, but pass multipl

Re: [go-nuts] golang and linking

2017-09-21 Thread Steven Hartland
Does quoting the flags work? On 21/09/2017 23:25, willow.pine.2...@gmail.com wrote: Hi, I have a project which requires multiple --ldflags or -ldflags. I noticed that go build only uses the last --ldflags of the commandline. Is there a way to pass multiple --ldflags and have them all be in effe

[go-nuts] golang and linking

2017-09-21 Thread willow . pine . 2011
Hi, I have a project which requires multiple --ldflags or -ldflags. I noticed that go build only uses the last --ldflags of the commandline. Is there a way to pass multiple --ldflags and have them all be in effect? Thanks. Will -- You received this message because you are subscribed to the