diff --git a/tools/platforms/MacPlatform.hx b/tools/platforms/MacPlatform.hx index 7fbe55a89..09322efcb 100644 --- a/tools/platforms/MacPlatform.hx +++ b/tools/platforms/MacPlatform.hx @@ -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"]);