[go-nuts] Re: go build doesn't propagate options that disable optimizations

2018-03-16 Thread Florin Pățan
My understanding is that you do not need -a anymore, just the rest of the flags. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Re: go build doesn't propagate options that disable optimizations

2018-03-15 Thread Patrick Turley
Indeed -- that pattern made the difference. Thank you. On Thursday, March 15, 2018 at 2:16:37 PM UTC-5, matthe...@gmail.com wrote: > > This looks like it changed between 1.9.4 and 1.10. > > Here’s the documentation: >

[go-nuts] Re: go build doesn't propagate options that disable optimizations

2018-03-15 Thread matthewjuran
This looks like it changed between 1.9.4 and 1.10. Here’s the documentation: https://github.com/golang/go/blob/release-branch.go1.10/src/cmd/go/internal/work/build.go#L113-L127 I guess the package patterns thing is new. Try this: go build -a -x -gcflags=“all=-N -l” Matt On Thursday, March