Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 817f659

Browse files
Nathan Blaircodebytere
Nathan Blair
authored andcommittedJul 12, 2020
configure: account for CLANG_VENDOR when checking for llvm version
Fixes: #29536 PR-URL: #33860 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
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)
Please sign in to comment.