diff --git a/configure.py b/configure.py index 87d99f75be6573..0410b6d16acab9 100755 --- a/configure.py +++ b/configure.py @@ -805,7 +805,7 @@ def get_nasm_version(asm): def get_llvm_version(cc): return get_version_helper( - cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\.[0-9]+)") + cc, r"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\.[0-9]+)") def get_xcode_version(cc): return get_version_helper(