@@ -672,10 +672,7 @@ def get_xcode_version(cc):
|
672 | 672 | def get_gas_version(cc): |
673 | 673 | try: |
674 | 674 | custom_env = os.environ.copy() |
675 | | -# smartos (a.k.a. sunos5) does not have the en_US locale, and will give: |
676 | | -# `setlocale: LC_ALL: cannot change locale (en_US): Invalid argument` |
677 | | -if 'sunos' not in sys.platform: |
678 | | - custom_env["LC_ALL"] = "en_US" |
| 675 | + custom_env["LC_ALL"] = "C" |
679 | 676 | proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o', |
680 | 677 | '/dev/null', '-x', |
681 | 678 | 'assembler', '/dev/null'], |
|