Commits

Armin Rigo committed 6df0aaf

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

Comments (0)

Files changed (1)

pypy/translator/platform/linux.py

                  + 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 = ()