[tools] Support cross compiling arm64 ndll on mac
This commit is contained in:
@@ -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"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user