Re: [go-nuts] Any reason make.bash does not allow you to pass asmflags?

2016-10-18 Thread Michael Hudson-Doyle
On 19 October 2016 at 07:53, Parker Evans  wrote:

> I was recently playing around with the assembler and compiler -trimpath
> option to remove build machine prefixes from the built from source
> toolchain and I realized that make.bash allows you to pass gcflags via the
> GO_GCFLAGS environment variable but there is no equivalent GO_ASMFLAGS
> environment variable that allows you to pass -asmflags.  As properly
> trimming all the paths involves passing the -trimpath option via -asmflags
> and -gcflags, this seems to be required.  Is there another way to do this?
> Or would this be a good patch for future Go releases?
>

-asmpath is a fairly new thing (added in 1.5?) so it's probably just an
oversight.

Cheers,
mwh

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Any reason make.bash does not allow you to pass asmflags?

2016-10-18 Thread Parker Evans
I was recently playing around with the assembler and compiler -trimpath 
option to remove build machine prefixes from the built from source 
toolchain and I realized that make.bash allows you to pass gcflags via the 
GO_GCFLAGS environment variable but there is no equivalent GO_ASMFLAGS 
environment variable that allows you to pass -asmflags.  As properly 
trimming all the paths involves passing the -trimpath option via -asmflags 
and -gcflags, this seems to be required.  Is there another way to do this? 
 Or would this be a good patch for future Go releases?

Thanks,
Parker

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.