From d3207912fb5736a92f1d4aa545dd3a473b87dd5b Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Wed, 5 Jun 2019 04:17:03 -0700 Subject: [PATCH] build: fix configure script to work with Apple Clang 11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/28071 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann (רפאל פלחי) --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 38ff742e3a76ef..16ee259dc2bb10 100755 --- a/configure.py +++ b/configure.py @@ -710,7 +710,7 @@ def get_llvm_version(cc): def get_xcode_version(cc): return get_version_helper( - cc, r"(^Apple LLVM version) ([0-9]+\.[0-9]+)") + cc, r"(^Apple (?:clang|LLVM) version) ([0-9]+\.[0-9]+)") def get_gas_version(cc): try: