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")