Are you using ARM mac or Intel?
If ARM try to add this: -arch arm64
If Intel try to add this: -arch x86_64
It shouldn't be needed tho, if you are using ARM mac, make sure you downloaded the ARM version, and not the Intel one, otherwise it'll run with Rosetta, wich i suspect is what the issue is