| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4757771 commit c688a00
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -671,11 +671,13 @@ def get_xcode_version(cc): | |||
| 671 | 671 | ||
| 672 | 672 | def get_gas_version(cc): | |
| 673 | 673 | try: | |
| 674 | + custom_env = os.environ.copy() | ||
| 675 | + custom_env["LC_ALL"] = "en_US" | ||
| 674 | 676 | proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o', | |
| 675 | 677 | '/dev/null', '-x', | |
| 676 | 678 | 'assembler', '/dev/null'], | |
| 677 | 679 | stdin=subprocess.PIPE, stderr=subprocess.PIPE, | |
| 678 | - stdout=subprocess.PIPE) | ||
| 680 | + stdout=subprocess.PIPE, env=custom_env) | ||
| 679 | 681 | except OSError: | |
| 680 | 682 | error('''No acceptable C compiler found! | |
| 681 | 683 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments