[pypy-svn] r59123 - pypy/branch/cbuild-refactor/pypy/translator/platform

fijal at codespeak.net fijal at codespeak.net
Thu Oct 16 00:15:44 CEST 2008


Author: fijal
Date: Thu Oct 16 00:15:43 2008
New Revision: 59123

Modified:
   pypy/branch/cbuild-refactor/pypy/translator/platform/darwin.py
Log:
fix for darwin


Modified: pypy/branch/cbuild-refactor/pypy/translator/platform/darwin.py
==============================================================================
--- pypy/branch/cbuild-refactor/pypy/translator/platform/darwin.py	(original)
+++ pypy/branch/cbuild-refactor/pypy/translator/platform/darwin.py	Thu Oct 16 00:15:43 2008
@@ -9,7 +9,9 @@
     cflags = ['-O3', '-fomit-frame-pointer']
     # -mdynamic-no-pic for standalone
     
-    def __init__(self, cc='gcc'):
+    def __init__(self, cc=None):
+        if cc is None:
+            cc = 'gcc'
         self.cc = cc
 
     def _args_for_shared(self, args):



More information about the Pypy-commit mailing list