Skip to content

Commit

Permalink
build: fix configure script to work with Apple Clang 11
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
saagarjha authored and BethGriggs committed Nov 19, 2019
1 parent 0621e25 commit 61d6ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 61d6ac7

Please sign in to comment.