diff --git a/configure b/configure index 97a75b985699b8..43f4c203d96e9b 100755 --- a/configure +++ b/configure @@ -672,7 +672,7 @@ def get_xcode_version(cc): def get_gas_version(cc): try: custom_env = os.environ.copy() - custom_env["LC_ALL"] = "en_US" + custom_env["LC_ALL"] = "en_US.UTF-8" proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o', '/dev/null', '-x', 'assembler', '/dev/null'],