Skip to content

Commit 61d6ac7

Browse files
saagarjhaBethGriggs
authored andcommitted
build: fix configure script to work with Apple Clang 11
PR-URL: #28071 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann (רפאל פלחי) <[email protected]>
1 parent 0621e25 commit 61d6ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def get_llvm_version(cc):
709709

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

714714
def get_gas_version(cc):
715715
try:

0 commit comments

Comments
 (0)