cmd/go: Use builtin constant to set default gccgo compiler.
commitb6c02b623a6aa2cd4e3603d8415852aa01aee0a1
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2015 20:32:42 +0000 (8 20:32 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2015 20:32:42 +0000 (8 20:32 +0000)
treece3a189724c5fe8847bd8ce6759a74d69e9a4ec2
parent3a9ccc116354492368c6d5eb2782dfd533bc96c9
cmd/go: Use builtin constant to set default gccgo compiler.

Don't look it up on PATH.  This lets a go tool built as part
of a GCC build use the gccgo from the same build.

Also pass -c when assembling a .s file with gccgo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219358 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/cmd/go/build.go