cmd/go: gccgo: consistent results, fix vendoring
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Jun 2017 13:56:04 +0000 (13:56 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Jun 2017 13:56:04 +0000 (13:56 +0000)
commit1279f21fc520cc8c91ef4dd3a8938b7aa256d799
tree57115a7915e8d1273fd8cd145fdd7b7a7422b2b9
parent8ba20d7eb85ac1703d97c9a6660f055788a7a7a6
cmd/go: gccgo: consistent results, fix vendoring

    Pass the -fdebug-prefix-map and -gno-record-gcc-switches compiler
    options to gccgo to generate consistent results.

    Fix the vendoring code to look for /vendor/, not just /vendor, to
    avoid being confused by something like vendor/vendor.org.

    Tested by the cmd/go tests in a followup CL.

    Reviewed-on: https://go-review.googlesource.com/45695

From-SVN: r249198
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/build.go