mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 20:29:23 +01:00
Fix the Windows build
This commit is contained in:
parent
c6843f40c8
commit
3e5139fd2f
6
configure
vendored
6
configure
vendored
@ -264,7 +264,11 @@ def target_arch():
|
||||
|
||||
|
||||
def compiler_version():
|
||||
proc = subprocess.Popen(CC.split() + ['--version'], stdout=subprocess.PIPE)
|
||||
try:
|
||||
proc = subprocess.Popen(CC.split() + ['--version'], stdout=subprocess.PIPE)
|
||||
except WindowsError:
|
||||
return (0, False)
|
||||
|
||||
is_clang = 'clang' in proc.communicate()[0].split('\n')[0]
|
||||
|
||||
proc = subprocess.Popen(CC.split() + ['-dumpversion'], stdout=subprocess.PIPE)
|
||||
|
Loading…
Reference in New Issue
Block a user