| Index: build/compiler_version.py
|
| diff --git a/build/compiler_version.py b/build/compiler_version.py
|
| index b06712d25b2d3c25990a97f99a630a66c703ce0b..fd23d89bd63b21c2304b80e22c12df7450120b42 100755
|
| --- a/build/compiler_version.py
|
| +++ b/build/compiler_version.py
|
| @@ -60,6 +60,10 @@ def GetVersion(compiler, tool):
|
|
|
|
|
| def main(args):
|
| + # Force the locale to C otherwise the version string could be localized
|
| + # making regex matching fail.
|
| + os.environ["LC_ALL"] = "C"
|
| +
|
| tool = "compiler"
|
| if len(args) == 1:
|
| tool = args[0]
|
|
|