##// END OF EJS Templates
setup: fixed for Pythons which don't have a CFLAGS...
Alex Gaynor -
r21839:f266be73 stable
parent child Browse files
Show More
@@ -534,7 +534,7 b" if sys.platform == 'darwin' and os.path."
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
General Comments 0
You need to be logged in to leave comments. Login now