From c57f55f29d8153f8eeca57fcefb873de1e43269a Mon Sep 17 00:00:00 2001 From: theanarkh Date: Mon, 11 Aug 2025 01:36:22 +0800 Subject: [PATCH] tools: fix return value of try_check_compiler --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 69841d624f37b0..b6810a2f507c69 100755 --- a/configure.py +++ b/configure.py @@ -1113,7 +1113,7 @@ def try_check_compiler(cc, lang): proc = subprocess.Popen(shlex.split(cc) + ['-E', '-P', '-x', lang, '-'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) except OSError: - return (False, False, '', '') + return (False, False, '', '', False) with proc: proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '