From 1e6d883baf567f06599af952ebf215b27cf6398e Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Mon, 10 Apr 2023 14:58:24 -0700 Subject: [PATCH] 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 --- tools/platforms/IOSPlatform.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/platforms/IOSPlatform.hx b/tools/platforms/IOSPlatform.hx index 065e4d48d..04fd2277e 100644 --- a/tools/platforms/IOSPlatform.hx +++ b/tools/platforms/IOSPlatform.hx @@ -491,7 +491,7 @@ class IOSPlatform extends PlatformTarget if (armv7) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7"]); if (armv7s) commands.push(["-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7S"]); 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 (arc)