From 233cdb64a95eaabce922d773f3e312565e18a9d4 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 PR-URL: https://github.com/nodejs/node/pull/29541 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca Reviewed-By: David Carlier Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index ce01a14566e..473bbfeb294 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(