cmd/go: force LANG=C when looking for compiler version
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 15 Mar 2018 16:56:24 +0000 (16:56 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 15 Mar 2018 16:56:24 +0000 (16:56 +0000)
commit8bb2726d08ae3dd89c7085a7972b5a144ccea270
tree48dcbd03a1b072bb15acc6ce494b1c54c6964754
parente0c079cba4a2069e4e1337d610542c9fec81f9be
cmd/go: force LANG=C when looking for compiler version

    Tested by installing the gcc-locales package and running
        LANG=de_DE.utf8 go build hello.go
    Without this change, that fails, as described at
    https://gcc.gnu.org/PR84765.

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

From-SVN: r258565
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/internal/work/buildid.go