Skip to content

Commit

Permalink
[tools] Support cross compiling arm64 ndll on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Jul 6, 2024
1 parent e257b7e commit 5eafeb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/platforms/MacPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ class MacPlatform extends PlatformTarget
// TODO: Support single binary
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"))
{
commands.push(["-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64"]);
Expand Down

0 comments on commit 5eafeb0

Please sign in to comment.