[tools] Support cross compiling arm64 ndll on mac

This commit is contained in:
Tobiasz Laskowski
2024-07-06 14:04:29 +01:00
parent e257b7ebe4
commit 5eafeb047d

View File

@@ -435,6 +435,10 @@ class MacPlatform extends PlatformTarget
// TODO: Support single binary // TODO: Support single binary
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64", "-Dhashlink"]); commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64", "-Dhashlink"]);
} }
else if (targetFlags.exists("arm64"))
{
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_ARM64"]);
}
else if (!targetFlags.exists("32")) else if (!targetFlags.exists("32"))
{ {
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64"]); commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64"]);