tools: allow -x86_64 and -x86_32 as command line flags to select those architectures instead of defaults (closes #1819)

Still supports -32 and -64, though, for backwards compatibility. We could consider removing those in Lime 9.
This commit is contained in:
Josh Tynjala
2024-07-19 14:46:44 -07:00
parent 745c178908
commit b866632a6f
5 changed files with 16 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ class IOSHelper
if (project.targetFlags.exists("simulator"))
{
if (project.targetFlags.exists("i386") || project.targetFlags.exists("32"))
if (project.targetFlags.exists("i386") || project.targetFlags.exists("32") || project.targetFlags.exists("x86_32"))
{
commands.push("-arch");
commands.push("i386");