[pypy-svn] r49900 - pypy/dist/pypy/translator/tool
rxe at codespeak.net
rxe at codespeak.net
Tue Dec 18 21:11:24 CET 2007
Author: rxe
Date: Tue Dec 18 21:11:22 2007
New Revision: 49900
Modified:
pypy/dist/pypy/translator/tool/cbuild.py
Log:
run the same optimization flags we do for genllvm. feel free to revert this to give genllvm back its glory :-)
Modified: pypy/dist/pypy/translator/tool/cbuild.py
==============================================================================
--- pypy/dist/pypy/translator/tool/cbuild.py (original)
+++ pypy/dist/pypy/translator/tool/cbuild.py Tue Dec 18 21:11:22 2007
@@ -367,8 +367,8 @@
self.libraries.append('m')
if 'pthread' not in self.libraries:
self.libraries.append('pthread')
- self.compile_extra += ['-O2', '-pthread']
- self.link_extra += ['-pthread']
+ self.compile_extra += ['-O3', '-fomit-frame-pointer', '-pthread']
+ self.link_extra += ['-O3', '-pthread']
if sys.platform == 'win32':
self.link_extra += ['/DEBUG'] # generate .pdb file
if sys.platform == 'darwin':
More information about the Pypy-commit
mailing list