projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6843f4
)
Fix the Windows build
author
Bert Belder
<bertbelder@gmail.com>
Sat, 7 Jul 2012 21:33:54 +0000
(23:33 +0200)
committer
Bert Belder
<bertbelder@gmail.com>
Sat, 7 Jul 2012 21:40:12 +0000
(23:40 +0200)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index d324696f40dab263702c31c7a4cae93181227971..5e60c55f4608ad1b1af28f8324feaae076f5895f 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-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)