From 6f4bb38101006674c4b0200ca1c3d7e4f8f867e7 Mon Sep 17 00:00:00 2001 From: Tobi Laskowski Date: Thu, 21 Dec 2023 18:11:07 +0000 Subject: [PATCH] Do not add host architecture if arm architecture is set --- tools/hxcpp/BuildTool.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/hxcpp/BuildTool.hx b/tools/hxcpp/BuildTool.hx index 15339a9a9..2109279f4 100644 --- a/tools/hxcpp/BuildTool.hx +++ b/tools/hxcpp/BuildTool.hx @@ -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();