mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 14:43:50 -04:00
makepanda: Fix issues when building on arm64 without --arch
flag
Logic in various places seems to assume `OSX_ARCHS` contains `arm64` in this case
This commit is contained in:
parent
4cf8187df7
commit
587f9f7bcd
@ -338,6 +338,9 @@ def parseopts(args):
|
||||
if 'arm64' in target_archs and OSXTARGET and OSXTARGET < (10, 9):
|
||||
exit("Must have at least --osxtarget 10.9 when targeting arm64")
|
||||
|
||||
elif platform.machine() == 'arm64':
|
||||
OSX_ARCHS = ('arm64',)
|
||||
|
||||
try:
|
||||
SetOptimize(int(optimize))
|
||||
assert GetOptimize() in [1, 2, 3, 4]
|
||||
|
Loading…
x
Reference in New Issue
Block a user