Skip to content

Commit 1e99809

Browse files
committed
Do not add host architecture if arm architecture is set
1 parent 45ee673 commit 1e99809

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/hxcpp/BuildTool.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ class BuildTool
134134
m64 = mDefines.exists("HXCPP_M64");
135135
m32 = mDefines.exists("HXCPP_M32");
136136
arm64 = mDefines.exists("HXCPP_ARM64");
137-
if (m64==m32 && !arm64)
137+
var otherArmArchitecture = mDefines.exists("HXCPP_ARMV6") || mDefines.exists("HXCPP_ARMV7") || mDefines.exists("HXCPP_ARMV7S");
138+
if (m64==m32 && !arm64 && !otherArmArchitecture)
138139
{
139140
var arch = getArch();
140141

0 commit comments

Comments
 (0)