Commit a74d1cd9 authored by Ronald Oussoren's avatar Ronald Oussoren

Fix for issue 9164

parent 1d311c0e
......@@ -143,8 +143,7 @@ def get_platform ():
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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment