Fix misplaced positional argument in OS X support library (#1134)

This commit is contained in:
Jack McCracken 2017-04-14 08:28:55 -04:00 committed by Serhiy Storchaka
parent 685cdb9acc
commit ce040f6c1e
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ def _remove_universal_flags(_config_vars):
# Do not alter a config var explicitly overridden by env var # Do not alter a config var explicitly overridden by env var
if cv in _config_vars and cv not in os.environ: if cv in _config_vars and cv not in os.environ:
flags = _config_vars[cv] flags = _config_vars[cv]
flags = re.sub(r'-arch\s+\w+\s', ' ', flags, re.ASCII) flags = re.sub(r'-arch\s+\w+\s', ' ', flags, flags=re.ASCII)
flags = re.sub('-isysroot [^ \t]*', ' ', flags) flags = re.sub('-isysroot [^ \t]*', ' ', flags)
_save_modified_value(_config_vars, cv, flags) _save_modified_value(_config_vars, cv, flags)