Commit 99982e8d authored by mercury233's avatar mercury233

readme

parent cf9427bb
...@@ -249,7 +249,7 @@ if os.istarget("macosx") then ...@@ -249,7 +249,7 @@ if os.istarget("macosx") then
TARGET_MAC_ARM = true TARGET_MAC_ARM = true
elseif not MAC_INTEL then elseif not MAC_INTEL then
-- automatic target arm64, need extra detect -- automatic target arm64, need extra detect
-- os.hostarch can't be relied on in premake 5.0-beta6 and older -- currently, os.hostarch cannot detect architectures that have been automatically translated by macOS
local uname = os.outputof("uname -m") local uname = os.outputof("uname -m")
local proctranslated = os.outputof("sysctl sysctl.proc_translated") local proctranslated = os.outputof("sysctl sysctl.proc_translated")
if uname:find("arm") or proctranslated then if uname:find("arm") or proctranslated then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment