cmd/go: Use builtin constant to set default gccgo compiler.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 8 Jan 2015 20:32:42 +0000 (20:32 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 8 Jan 2015 20:32:42 +0000 (20:32 +0000)
commitd9ebff44bb8217b3982c987072ab5a76c6de74e9
treece3a189724c5fe8847bd8ce6759a74d69e9a4ec2
parenteb4c16eb849c4c06009186a4df409186d46f5e8d
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.

From-SVN: r219358
libgo/go/cmd/go/build.go