From 61d6ac7f058e3309cc5066b8cb74dd08e665a99d 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 cfd4207d32b8b9..22861a10eeac54 100755 --- a/configure.py +++ b/configure.py @@ -709,7 +709,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: