[pypy-svn] r65067 - pypy/trunk/pypy/translator/platform
fijal at codespeak.net
fijal at codespeak.net
Tue May 5 18:20:42 CEST 2009
Author: fijal
Date: Tue May 5 18:20:39 2009
New Revision: 65067
Modified:
pypy/trunk/pypy/translator/platform/freebsd7.py
pypy/trunk/pypy/translator/platform/posix.py
Log:
(kirma) FreeBSD platform code should not assume make=gmake
Modified: pypy/trunk/pypy/translator/platform/freebsd7.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/freebsd7.py (original)
+++ pypy/trunk/pypy/translator/platform/freebsd7.py Tue May 5 18:20:39 2009
@@ -10,6 +10,7 @@
standalone_only = []
shared_only = []
so_ext = 'so'
+ make_cmd = 'gmake'
def _args_for_shared(self, args):
return ['-shared'] + args
Modified: pypy/trunk/pypy/translator/platform/posix.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/posix.py (original)
+++ pypy/trunk/pypy/translator/platform/posix.py Tue May 5 18:20:39 2009
@@ -8,6 +8,7 @@
class BasePosix(Platform):
exe_ext = ''
+ make_cmd = 'make'
def __init__(self, cc=None):
if cc is None:
@@ -108,7 +109,7 @@
else:
path = path_to_makefile
log.execute('make in %s' % (path,))
- returncode, stdout, stderr = _run_subprocess('make', ['-C', str(path)])
+ returncode, stdout, stderr = _run_subprocess(self.make_cmd, ['-C', str(path)])
self._handle_error(returncode, stdout, stderr, path.join('make'))
class Definition(object):
More information about the Pypy-commit
mailing list