Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r46643:9cc9fd4f2b14
Date: 2011-08-19 17:00 +0200
http://bitbucket.org/pypy/pypy/changeset/9cc9fd4f2b14/

Log:    Checkin by mvt: some OS/X support.

diff --git a/lib-python/modified-2.7/distutils/unixccompiler.py 
b/lib-python/modified-2.7/distutils/unixccompiler.py
--- a/lib-python/modified-2.7/distutils/unixccompiler.py
+++ b/lib-python/modified-2.7/distutils/unixccompiler.py
@@ -324,7 +324,7 @@
             # On OSX users can specify an alternate SDK using
             # '-isysroot', calculate the SDK root if it is specified
             # (and use it further on)
-            cflags = sysconfig.get_config_var('CFLAGS')
+            cflags = sysconfig.get_config_var('CFLAGS') or ''
             m = re.search(r'-isysroot\s+(\S+)', cflags)
             if m is None:
                 sysroot = '/'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to