Skip to content

Commit 8d28236

Browse files
theanarkhtargos
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 9ff71a6 commit 8d28236

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
@@ -1113,7 +1113,7 @@ def try_check_compiler(cc, lang):
11131113
proc = subprocess.Popen(shlex.split(cc) + ['-E', '-P', '-x', lang, '-'],
11141114
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
11151115
except OSError:
1116-
return (False, False, '', '')
1116+
return (False, False, '', '', False)
11171117

11181118
with proc:
11191119
proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '

0 commit comments

Comments
 (0)