Skip to content

Commit d320791

Browse files
saagarjhaBridgeAR
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 2353c63 commit d320791

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
@@ -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)