Skip to content

Commit 027ae4f

Browse files
theanarkhrichardlau
authored andcommitted
tools: fix return value of try_check_compiler
PR-URL: #59434 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent b1c3e4a commit 027ae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def try_check_compiler(cc, lang):
11111111
proc = subprocess.Popen(shlex.split(cc) + ['-E', '-P', '-x', lang, '-'],
11121112
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
11131113
except OSError:
1114-
return (False, False, '', '')
1114+
return (False, False, '', '', False)
11151115

11161116
with proc:
11171117
proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '

0 commit comments

Comments
 (0)