diff --git a/configure.py b/configure.py index cfd4207d32b8b9..22861a10eeac54 100755 --- a/configure.py +++ b/configure.py @@ -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: