makepanda: Don't disable Cg/FMODEx on macOS without arch flags

Fixes #1119
This commit is contained in:
rdb 2021-02-24 09:39:47 +01:00
parent ea49c121a0
commit f84111a693

View File

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