Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r59423:6df0aaf4caf2
Date: 2012-12-14 23:47 +0100
http://bitbucket.org/pypy/pypy/changeset/6df0aaf4caf2/

Log:    Change the Makefile to contain "-Os" instead of "-O3" on Linux. It
        seems to give executables that are a bit faster, and definitely
        smaller.

diff --git a/pypy/translator/platform/linux.py 
b/pypy/translator/platform/linux.py
--- a/pypy/translator/platform/linux.py
+++ b/pypy/translator/platform/linux.py
@@ -13,7 +13,8 @@
                  + os.environ.get('LDFLAGS', '').split())
     extra_libs = ('-lrt',)
     cflags = tuple(
-             ['-O3', '-pthread', '-fomit-frame-pointer',
+             ['-Os',   # more compact and actually a bit faster
+              '-pthread', '-fomit-frame-pointer',
               '-Wall', '-Wno-unused']
              + os.environ.get('CFLAGS', '').split())
     standalone_only = ()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to