Skip to content

Commit 817f659

Browse files
Nathan Blaircodebytere
Nathan Blair
authored andcommitted
configure: account for CLANG_VENDOR when checking for llvm version
Fixes: #29536 PR-URL: #33860 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e057189 commit 817f659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def get_nasm_version(asm):
794794

795795
def get_llvm_version(cc):
796796
return get_version_helper(
797-
cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\.[0-9]+)")
797+
cc, r"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\.[0-9]+)")
798798

799799
def get_xcode_version(cc):
800800
return get_version_helper(

0 commit comments

Comments
 (0)