# HG changeset patch # User Augie Fackler # Date 1404675806 14400 # Node ID 521355a95636a81cd75266330f9cf13ccaaaaf51 # Parent 0c88185c7d6c4718a1444b7635280a95f98f7e2c# Parent 0022ee690446dcf42075780ff9022d8f7d8e69f0 Merge with crew. diff -r 0022ee690446 -r 521355a95636 setup.py --- 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')