Fix for issue 9164
This commit is contained in:
parent
8a1c2543ff
commit
d3950527e7
|
@ -660,8 +660,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]
|
||||
|
|
Loading…
Reference in New Issue