tools: allow -hlc on windows/mac/linux without -hl

This commit is contained in:
Josh Tynjala
2023-11-22 11:46:33 -08:00
parent 1d7397f808
commit 6dc0c4c785
3 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ class LinuxPlatform extends PlatformTarget
{
targetType = "neko";
}
else if (project.targetFlags.exists("hl"))
else if (project.targetFlags.exists("hl") || targetFlags.exists("hlc"))
{
targetType = "hl";
is64 = true;

View File

@@ -134,7 +134,7 @@ class MacPlatform extends PlatformTarget
{
targetType = "neko";
}
else if (project.targetFlags.exists("hl"))
else if (project.targetFlags.exists("hl") || project.targetFlags.exists("hlc"))
{
targetType = "hl";
is64 = true;

View File

@@ -142,7 +142,7 @@ class WindowsPlatform extends PlatformTarget
{
targetType = "neko";
}
else if (project.targetFlags.exists("hl"))
else if (project.targetFlags.exists("hl") || targetFlags.exists("hlc"))
{
targetType = "hl";
is64 = !project.flags.exists("32");