summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/darwin.config9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/darwin.config b/config/darwin.config
index a252acf..4cd7443 100644
--- a/config/darwin.config
+++ b/config/darwin.config
@@ -24,8 +24,13 @@ elif target_arch == Architecture.PPC:
# sudo port install git automake libtool gtk-doc
# The following enviorenment variables are needed in order to use the macports
# libtoolize and libtool.
- os.environ['LIBTOOLIZE'] = "glibtoolize"
- os.environ['LIBTOOL'] = "glibtool"
+ os.environ['LIBTOOLIZE'] = 'glibtoolize'
+ os.environ['LIBTOOL'] = 'glibtool'
+ # XCode 3.1.4 comes with two versions of gcc. Using the newest one allows
+ # build gmp without needing to patch it.
+ os.environ['CC'] = 'gcc-4.2'
+ os.environ['CXX'] = 'g++-4.2'
+ os.environ['CPP'] = 'cpp-4.2'
sdk_root = '/Developer/SDKs/MacOSX%s.sdk' % osx_sdk_version
sdk='-mmacosx-version-min=%s -isysroot %s' % (osx_sdk_version, sdk_root)