From a467bcc07d65835bc135f3671e4da9f12689a473 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Fri, 13 Sep 2019 03:42:24 +0200 Subject: [PATCH] build: allow clang 10+ in configure.py Detected on NetBSD/amd64. Fixes: https://github.com/nodejs/node/issues/29536 --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index ce01a14566e65a..473bbfeb294b34 100755 --- a/configure.py +++ b/configure.py @@ -724,7 +724,7 @@ def get_nasm_version(asm): def get_llvm_version(cc): return get_version_helper( - cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([3-9]\.[0-9]+)") + cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\.[0-9]+)") def get_xcode_version(cc): return get_version_helper(