From 8c82cf5800ce2be71b9cc4cfe9fec469bfbfb162 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 29 Dec 2019 00:27:59 +0100 Subject: [PATCH] makepanda: --universal should not enable i386 when targeting 10.15+ [skip ci] --- makepanda/makepanda.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 884b79733a..a67422c6c5 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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: