openspades icon indicating copy to clipboard operation
openspades copied to clipboard

Fix aarch64 compiling

Open RossComputerGuy opened this issue 1 year ago • 1 comments

Fixes #1098 by patching AngelScript to handle compiling for specific CPU targets correctly.

RossComputerGuy avatar Jun 06 '24 23:06 RossComputerGuy

The 32 bit arm CallSystemFunctionNative won't work for some aarch64 systems (like Apple processors),. Angelscript since 2.36.0 supports aarch64-linux, so in the interest of having more games to test on Asahi Linux, I did a hacky backport of it. Updating Angelscript is the right solution but was going to take more work. This branch is tested on aarch64-linux: https://github.com/xal-0/openspades/tree/angelscript-aarch64-backport

xal-0 avatar Jul 04 '24 17:07 xal-0