commit | d3950527e7b51129accad96a9890ab99224e918a | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Sun Jul 11 09:05:07 2010 +0000 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Sun Jul 11 09:05:07 2010 +0000 |
tree | 68f22dbb31e376bd19b05e9764ea92355454996c | |
parent | 8a1c2543ff43964fb26191caee531197b3b89245 [diff] [blame] |
Fix for issue 9164
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 50c8133..28731df 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py
@@ -660,8 +660,7 @@ cflags = get_config_vars().get('CFLAGS') archs = re.findall('-arch\s+(\S+)', cflags) - archs.sort() - archs = tuple(archs) + archs = tuple(sorted(set(archs))) if len(archs) == 1: machine = archs[0]