IOSPlatform: when building liblime.iphonesim.a, explicitly add -DHXCPP_M32

It looks like the new hxcpp update defaults to 64-bit now, so we need to be explicit
This commit is contained in:
Josh Tynjala
2023-04-10 14:58:24 -07:00
parent 0f694662f9
commit 1e6d883baf

View File

@@ -491,7 +491,7 @@ class IOSPlatform extends PlatformTarget
if (armv7) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7"]); if (armv7) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7"]);
if (armv7s) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7S"]); if (armv7s) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7S"]);
if (arm64) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARM64"]); if (arm64) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARM64"]);
if (i386) commands.push(["-Dios", "-Dsimulator", "-DHXCPP_CPP11"]); if (i386) commands.push(["-Dios", "-Dsimulator", "-DHXCPP_M32", "-DHXCPP_CPP11"]);
if (x86_64) commands.push(["-Dios", "-Dsimulator", "-DHXCPP_M64", "-DHXCPP_CPP11"]); if (x86_64) commands.push(["-Dios", "-Dsimulator", "-DHXCPP_M64", "-DHXCPP_CPP11"]);
if (arc) if (arc)