build: fix configure script to work with Apple Clang 11

PR-URL: https://github.com/nodejs/node/pull/28071
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
This commit is contained in:
Saagar Jha authored and Refael Ackermann committed 2019-06-11 20:07:08 -04:00
1 parent 8f98cf5e15
commit 1f143b8625
1 file changed
+1 -1
+1 -1
View File
@@ -710,7 +710,7 @@ def get_llvm_version(cc):
def get_xcode_version(cc):
return get_version_helper(
cc, r"(^Apple LLVM version) ([0-9]+\.[0-9]+)")
cc, r"(^Apple (?:clang|LLVM) version) ([0-9]+\.[0-9]+)")
def get_gas_version(cc):
try: