Skip to content

Commit

Permalink
Do not add host architecture if arm architecture is set
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Dec 21, 2023
1 parent 18f87b9 commit c68c1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/hxcpp/BuildTool.hx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ class BuildTool
m64 = mDefines.exists("HXCPP_M64");
m32 = mDefines.exists("HXCPP_M32");
arm64 = mDefines.exists("HXCPP_ARM64");
if (m64==m32 && !arm64)
var otherArmArchitecture = mDefines.exists("HXCPP_ARMV6") || mDefines.exists("HXCPP_ARMV7") || mDefines.exists("HXCPP_ARMV7S");
if (m64==m32 && !arm64 && !otherArmArchitecture)
{
var arch = getArch();

Expand Down

0 comments on commit c68c1cd

Please sign in to comment.