diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-11-14 16:01:14 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-11-14 16:01:14 +0300 |
commit | aac16ce4ecacf69e3be5a34f3b4a911428e9217a (patch) | |
tree | 6f28ff451529af83f6d7a0319fbae66a65c8cc3e /config/darwin-config.py | |
parent | b386ef0abead10ccc9c2549d62a0c14b81b01b52 (diff) |
- scons fix for 10.4 build (use the 10.4 libs dir)
- warning fix in ghost/cocoa
Diffstat (limited to 'config/darwin-config.py')
-rw-r--r-- | config/darwin-config.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/config/darwin-config.py b/config/darwin-config.py index 03cc4eb1f8c..249598e8a47 100644 --- a/config/darwin-config.py +++ b/config/darwin-config.py @@ -31,30 +31,32 @@ elif cmd_res[0]=='9': elif cmd_res[0]=='10': MAC_CUR_VER='10.6' -if MACOSX_ARCHITECTURE == 'ppc': - LCGDIR = '#../lib/darwin-6.1-powerpc' -else : - LCGDIR = '#../lib/darwin-9.x.universal' -LIBDIR = '${LCGDIR}' - BF_PYTHON_VERSION = '3.1' -if MACOSX_ARCHITECTURE == 'ppc' and BF_PYTHON_VERSION == '2.3': +# Default target OSX settings per architecture +# Can be customized + +if MACOSX_ARCHITECTURE == 'ppc': MAC_MIN_VERS = '10.3' MACOSX_SDK='/Developer/SDKs/MacOSX10.3.9.sdk' - CC = 'gcc' - CXX = 'g++' -elif MACOSX_ARCHITECTURE == 'i386' or MACOSX_ARCHITECTURE == 'ppc': + LCGDIR = '#../lib/darwin-6.1-powerpc' + CC = 'gcc-3.3' + CXX = 'g++-3.3' +elif MACOSX_ARCHITECTURE == 'i386': MAC_MIN_VERS = '10.4' MACOSX_SDK='/Developer/SDKs/MacOSX10.4u.sdk' + LCGDIR = '#../lib/darwin-8.x.i386' CC = 'gcc-4.0' CXX = 'g++-4.0' else : MAC_MIN_VERS = '10.5' MACOSX_SDK='/Developer/SDKs/MacOSX10.5.sdk' + LCGDIR = '#../lib/darwin-9.x.universal' CC = 'gcc-4.2' CXX = 'g++-4.2' +LIBDIR = '${LCGDIR}' + ############################################################################# ################### Dependency settings ################## ############################################################################# |