diff options
| author | Jérôme Leclercq <[email protected]> | 2024-08-07 12:17:11 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-07 12:17:11 +0200 |
| commit | 0cfd96928e1f56c4f9dd9a82662ec67313da58e2 (patch) | |
| tree | 8de7e74c4783a4dd62951d335b843cd56e226b99 | |
| parent | 5e1dfa56a99d03d0252a51e0f730b2efb78d1bdc (diff) | |
Revert e26ea1c31f9fd0733590c36db4b6f9003fae8547
| -rw-r--r-- | xmake/core/base/private/is_cross.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/base/private/is_cross.lua b/xmake/core/base/private/is_cross.lua index c395124ab..d794f147a 100644 --- a/xmake/core/base/private/is_cross.lua +++ b/xmake/core/base/private/is_cross.lua @@ -40,14 +40,6 @@ function is_cross(plat, arch) elseif plat == "mingw" then return false end - elseif host_os == "macosx" then - if plat == "macosx" then - local host_arch = os.arch() - -- arm64 macOS can execute x86_64 (rosetta) - if host_arch == "arm64" and arch == "x86_64" then - return false - end - end end if plat ~= os.host() and plat ~= os.subhost() then return true |
