Skip to content

Commit 41ba699

Browse files
committed
build: update configure for Node.js 12
Update supported level of gcc to 6.3.0 and clang to 8.0.0. Refs: #26714 PR-URL: #26719 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 0b516fa commit 41ba699

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

configure.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -740,10 +740,8 @@ def check_compiler(o):
740740
ok, is_clang, clang_version, gcc_version = try_check_compiler(CXX, 'c++')
741741
if not ok:
742742
warn('failed to autodetect C++ compiler version (CXX=%s)' % CXX)
743-
elif sys.platform.startswith('aix') and gcc_version < (6, 3, 0):
744-
warn('C++ compiler too old, need g++ 6.3.0 (CXX=%s)' % CXX)
745-
elif clang_version < (3, 4, 2) if is_clang else gcc_version < (4, 9, 4):
746-
warn('C++ compiler too old, need g++ 4.9.4 or clang++ 3.4.2 (CXX=%s)' % CXX)
743+
elif clang_version < (8, 0, 0) if is_clang else gcc_version < (6, 3, 0):
744+
warn('C++ compiler too old, need g++ 6.3.0 or clang++ 8.0.0 (CXX=%s)' % CXX)
747745

748746
ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c')
749747
if not ok:

0 commit comments

Comments
 (0)