cmd/go: gccgo: consistent results, fix vendoring
commit4d9382b7a6655fa9bb6d746b8d70eb561c8fdf0f
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2017 13:56:04 +0000 (14 13:56 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2017 13:56:04 +0000 (14 13:56 +0000)
tree57115a7915e8d1273fd8cd145fdd7b7a7422b2b9
parent643014f41e12d9e678ed44d7f82dc57965636eb8
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

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