[pypy-commit] pypy default: Issue1333: Use the macosx-version-min gcc flags.
arigo
noreply at buildbot.pypy.org
Sun Dec 2 18:43:40 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r59217:21fd46def733
Date: 2012-11-23 13:13 +0100
http://bitbucket.org/pypy/pypy/changeset/21fd46def733/
Log: Issue1333: Use the macosx-version-min gcc flags.
diff --git a/pypy/translator/platform/darwin.py b/pypy/translator/platform/darwin.py
--- a/pypy/translator/platform/darwin.py
+++ b/pypy/translator/platform/darwin.py
@@ -61,8 +61,9 @@
class Darwin_i386(Darwin):
name = "darwin_i386"
- link_flags = ('-arch', 'i386')
- cflags = ('-arch', 'i386', '-O3', '-fomit-frame-pointer')
+ link_flags = ('-arch', 'i386', '-mmacosx-version-min=10.4')
+ cflags = ('-arch', 'i386', '-O3', '-fomit-frame-pointer',
+ '-mmacosx-version-min=10.4')
class Darwin_PowerPC(Darwin):#xxx fixme, mwp
name = "darwin_powerpc"
@@ -71,5 +72,6 @@
class Darwin_x86_64(Darwin):
name = "darwin_x86_64"
- link_flags = ('-arch', 'x86_64')
- cflags = ('-arch', 'x86_64', '-O3', '-fomit-frame-pointer')
+ link_flags = ('-arch', 'x86_64', '-mmacosx-version-min=10.5')
+ cflags = ('-arch', 'x86_64', '-O3', '-fomit-frame-pointer',
+ '-mmacosx-version-min=10.5')
More information about the pypy-commit
mailing list