Skip to content

Commit 409fdba

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

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
@@ -852,7 +852,7 @@ def get_nasm_version(asm):
852852

853853
def get_llvm_version(cc):
854854
return get_version_helper(
855-
cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\.[0-9]+)")
855+
cc, r"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\.[0-9]+)")
856856

857857
def get_xcode_version(cc):
858858
return get_version_helper(

0 commit comments

Comments
 (0)