Descriptioncmd/go: Add support for passing custom link flags.
Makes cmd/go check the environment variable GLDFLAGS for extra option
to pass to the linker (8l, 6l, or 5l) in the link step of go build, go install, etc...
The enviroment variable was chosen to be analagous to the existing
GCFLAGS variable for passing compiler variables to 8g, 6g, or 5g.
Fixes issue 2996.
Patch Set 1 #Patch Set 2 : diff -r 637fa427fef5 https://code.google.com/p/go #Patch Set 3 : diff -r 5d4cd2971008 https://code.google.com/p/go #MessagesTotal messages: 3
|