From 6e045112969b1f3e1313b235d80582f1f7662693 Mon Sep 17 00:00:00 2001 From: theanarkh Date: Wed, 13 Aug 2025 18:39:53 +0800 Subject: [PATCH] tools: fix return value of try_check_compiler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/59434 Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso Reviewed-By: Marco Ippolito --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 69841d624f3..b6810a2f507 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__ '