makepanda: --universal should not enable i386 when targeting 10.15+

[skip ci]
This commit is contained in:
rdb 2019-12-29 00:27:59 +01:00
parent c0fd600454
commit 8c82cf5800

View File

@ -306,13 +306,15 @@ def parseopts(args):
if target_arch:
exit("--universal is incompatible with --arch")
OSX_ARCHS.append("i386")
if OSXTARGET:
osxver = OSXTARGET
else:
maj, min = platform.mac_ver()[0].split('.')[:2]
osxver = int(maj), int(min)
if osxver[1] < 15:
OSX_ARCHS.append("i386")
if osxver[1] < 6:
OSX_ARCHS.append("ppc")
else: