3 ms·
This changed from 1.9 -> 1.10, now the asm/gc/ldflags only apply to the module being compiled directly, not other modules. https://golang.org/doc/go1.10#build
by mappu 8y ago
This changed from 1.9 -> 1.10, now the asm/gc/ldflags only apply to the module being compiled directly, not other modules.
https://golang.org/doc/go1.10#build https://golang.org/doc/go1.10#build
You can resolve this by using "all" as the pattern (-gcflags=all=-trimpath=$GOPATH)
- mehrdadn 8y agoAhh!! Okay thanks, that works... almost. Now there's still one spot left where the path of the Go installation is embedded... :\