Supafaust (or SNES Faust) / Build on RPi3 1GB aarch64


I’m having trouble building the Supafaust core on Raspberry Pi OS 64-bit.

It builds fine on 32 bit, but on 64 bit the build takes up too much memory and fails. Admittedly the Pi3 doesn’t have a lot of memory (1 GB), but nonetheless it seems weird to me that a SNES core fails to build because of this. I can build more complex cores just fine (DuckStation, for example).

Could this be a bug or is there a quick way to fix this? I would appreciate any advice.