[pypy-svn] r57659 - pypy/branch/cross-compilation/pypy/translator/c
fijal at codespeak.net
fijal at codespeak.net
Wed Aug 27 20:10:37 CEST 2008
Author: fijal
Date: Wed Aug 27 20:10:36 2008
New Revision: 57659
Modified:
pypy/branch/cross-compilation/pypy/translator/c/genc.py
Log:
Use the same CC in Makefile as in cbuild.
Modified: pypy/branch/cross-compilation/pypy/translator/c/genc.py
==============================================================================
--- pypy/branch/cross-compilation/pypy/translator/c/genc.py (original)
+++ pypy/branch/cross-compilation/pypy/translator/c/genc.py Wed Aug 27 20:10:36 2008
@@ -399,7 +399,9 @@
if self.config.translation.cc:
cc = self.config.translation.cc
else:
- cc = 'gcc'
+ cc = eci.get_compiler_for_platform()
+ if cc is None:
+ cc = 'gcc'
make_no_prof = ''
if self.has_profopt():
profopt = self.config.translation.profopt
More information about the Pypy-commit
mailing list