Skip to content

Commit 1f143b8

Browse files
saagarjharefack
authored andcommitted
build: fix configure script to work with Apple Clang 11
PR-URL: nodejs#28071 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
1 parent 8f98cf5 commit 1f143b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def get_llvm_version(cc):
710710

711711
def get_xcode_version(cc):
712712
return get_version_helper(
713-
cc, r"(^Apple LLVM version) ([0-9]+\.[0-9]+)")
713+
cc, r"(^Apple (?:clang|LLVM) version) ([0-9]+\.[0-9]+)")
714714

715715
def get_gas_version(cc):
716716
try:

0 commit comments

Comments
 (0)