cmd/go: force LANG=C when looking for compiler version
commitbbba90a59aaf5eb15413c5bec797b8b4d3ffdbd8
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2018 16:56:24 +0000 (15 16:56 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2018 16:56:24 +0000 (15 16:56 +0000)
tree48dcbd03a1b072bb15acc6ce494b1c54c6964754
parent24ea12bf622e37cdbf5221c4dd56d886e07e4621
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

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