Skip to content

Commit

Permalink
MacPlatform: always build HashLink for Intel on macOS for now
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Jul 18, 2024
1 parent 4fa31a0 commit b95dac4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/platforms/MacPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);
}
Expand Down

0 comments on commit b95dac4

Please sign in to comment.