]> Cypherpunks repositories - gostls13.git/commit
cmd/go: set environment LANG=C when getting compiler version
authorjokemanfire <huzuzong123@gmail.com>
Fri, 6 Sep 2024 13:42:49 +0000 (13:42 +0000)
committerMichael Matloob <matloob@golang.org>
Thu, 12 Sep 2024 14:57:15 +0000 (14:57 +0000)
commitc1fe637eda9b198cf3acad4eee6db8bc03b602f9
treeded90adf9205245b66fa7f12db5e65205625b66c
parent30f3931c5411a9b3bd9da3eaae71375a232b12cb
cmd/go: set environment LANG=C when getting compiler version

Compiler's version will not work well if gcc output have
different language. Like 'gcc -v', it may not output:
'gcc version xx.xx.x'

 Fixes #69221

Change-Id: I4adcea79dfaaf5853dfb6e718468f8530c67da6a
GitHub-Last-Rev: 069787c0836f9be10e4bf71dd6c468ae47f6161e
GitHub-Pull-Request: golang/go#69223
Reviewed-on: https://go-review.googlesource.com/c/go/+/610215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: DING HU <huzuzong123@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/work/init.go