diff options
author | Sven Gothel <[email protected]> | 2011-11-26 18:16:32 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-26 18:16:32 +0100 |
commit | b3d5e20c04af353b246c9b2607c145f7dbd508dd (patch) | |
tree | 1a735a8115f808f1cc06f3ce0d60e3fcd25d75cc /make | |
parent | c964517ebf2496b6eec0fb3d688d41b3a3ba626b (diff) |
cpptasks MacOSX 10.5 support (bug 528): Use '-mmacosx-version-min=10.5' flag for compiler/linker.
As Wade Walker suggests, use '-mmacosx-version-min=10.5' compiler/linker flag,
which doesn't break 10.6 nor 10.7 builds, still need confirmation whether it
works on 10.5!
Diffstat (limited to 'make')
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index ada79fd..c201bb3 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -791,6 +791,7 @@ <!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard --> <compilerarg value="-Wmost" /> <compilerarg value="-ObjC" /> + <compilerarg value="-mmacosx-version-min=10.5"/> <defineset> <define name="macosx" /> <define name="_DEBUG" if="c.compiler.use-debug"/> @@ -930,6 +931,7 @@ <linkerarg value="i386" if="use.macosx32"/> <linkerarg value="-arch" if="use.macosx64"/> <linkerarg value="x86_64" if="use.macosx64"/> + <linkerarg value="-mmacosx-version-min=10.5"/> <!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard --> </linker> |