Skip to content

Commit

Permalink
configure: account for CLANG_VENDOR when checking for llvm version
Browse files Browse the repository at this point in the history
Fixes: #29536

PR-URL: #33860
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Nathan Blair authored and jasnell committed Jun 25, 2020
1 parent dca8163 commit 409fdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,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(
Expand Down

0 comments on commit 409fdba

Please sign in to comment.