equal
deleted
inserted
replaced
532 # C extension modules, and a bug has been filed upstream at |
532 # C extension modules, and a bug has been filed upstream at |
533 # http://bugs.python.org/issue21244. We also need to patch this here |
533 # http://bugs.python.org/issue21244. We also need to patch this here |
534 # so Mercurial can continue to compile in the meantime. |
534 # so Mercurial can continue to compile in the meantime. |
535 if xcode51: |
535 if xcode51: |
536 cflags = get_config_var('CFLAGS') |
536 cflags = get_config_var('CFLAGS') |
537 if re.search(r'-mno-fused-madd\b', cflags) is not None: |
537 if cflags and re.search(r'-mno-fused-madd\b', cflags) is not None: |
538 os.environ['CFLAGS'] = ( |
538 os.environ['CFLAGS'] = ( |
539 os.environ.get('CFLAGS', '') + ' -Qunused-arguments') |
539 os.environ.get('CFLAGS', '') + ' -Qunused-arguments') |
540 |
540 |
541 setup(name='mercurial', |
541 setup(name='mercurial', |
542 version=setupversion, |
542 version=setupversion, |