From f84111a693b3224b75631a64489c2b0b3b37438d Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 24 Feb 2021 09:39:47 +0100 Subject: [PATCH] makepanda: Don't disable Cg/FMODEx on macOS without arch flags Fixes #1119 --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 69b0b207fd..9c57b37129 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -934,7 +934,7 @@ if (COMPILER=="GCC"): PkgDisable("CARBON") if GetTarget() == 'darwin': - if 'x86_64' not in OSX_ARCHS and 'i386' not in OSX_ARCHS: + if OSX_ARCHS and 'x86_64' not in OSX_ARCHS and 'i386' not in OSX_ARCHS: # These support only these archs, so don't build them if we're not # targeting any of the supported archs. PkgDisable("FMODEX")