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 <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>
  • Loading branch information
saagarjha authored and MylesBorins committed Dec 17, 2019
1 parent 3c49b8d commit a80c591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
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 a80c591

Please sign in to comment.