[pypy-commit] pypy default: allow self.cc to have spaces
mattip
pypy.commits at gmail.com
Sat Sep 22 17:14:56 EDT 2018
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r95154:ca3f54735832
Date: 2018-09-23 00:08 +0300
http://bitbucket.org/pypy/pypy/changeset/ca3f54735832/
Log: allow self.cc to have spaces
diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -177,7 +177,7 @@
self.cc = cc
# detect version of current compiler
- returncode, stdout, stderr = _run_subprocess(self.cc, '',
+ returncode, stdout, stderr = _run_subprocess(self.cc, [],
env=self.c_environ)
r = re.search(r'Microsoft.+C/C\+\+.+\s([0-9]+)\.([0-9]+).*', stderr)
if r is not None:
@@ -187,7 +187,7 @@
self.version = 0
# Try to find a masm assembler
- returncode, stdout, stderr = _run_subprocess('ml.exe', '',
+ returncode, stdout, stderr = _run_subprocess('ml.exe', [],
env=self.c_environ)
r = re.search('Macro Assembler', stderr)
if r is None and os.path.exists('c:/masm32/bin/ml.exe'):
More information about the pypy-commit
mailing list