MacPlatform: always build HashLink for Intel on macOS for now

This commit is contained in:
Josh Tynjala
2024-07-18 12:14:07 -07:00
parent 4fa31a0d34
commit b95dac4da3

View File

@@ -438,7 +438,12 @@ class MacPlatform extends PlatformTarget
case X86:
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M32"]);
case ARM64:
if (targetFlags.exists("64"))
if (targetFlags.exists("hl"))
{
// hashlink doesn't support arm64 macs yet
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_ARCH=x86_64", "-Dhashlink"]);
}
else if (targetFlags.exists("64"))
{
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_ARCH=x86_64"]);
}