Merge with crew.
authorAugie Fackler <raf@durin42.com>
Sun, 06 Jul 2014 15:43:26 -0400
changeset 21841 521355a95636
parent 21840 0c88185c7d6c (diff)
parent 21838 0022ee690446 (current diff)
child 21844 7cfd94ec5d30
Merge with crew.
--- a/setup.py	Thu Jul 03 19:05:04 2014 +0200
+++ b/setup.py	Sun Jul 06 15:43:26 2014 -0400
@@ -534,7 +534,7 @@
     # so Mercurial can continue to compile in the meantime.
     if xcode51:
         cflags = get_config_var('CFLAGS')
-        if re.search(r'-mno-fused-madd\b', cflags) is not None:
+        if cflags and re.search(r'-mno-fused-madd\b', cflags) is not None:
             os.environ['CFLAGS'] = (
                 os.environ.get('CFLAGS', '') + ' -Qunused-arguments')