summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-21 22:41:44 +0800
committerruki <[email protected]>2021-07-21 22:41:44 +0800
commit111e917c3317543125fb18aac9101c7c78ab1176 (patch)
tree362df2f295738b6b0af029fafb9a6ff5cc797d0b /xmake/core/project/project.lua
parent3557aa0c7934ee6a42defc9649e94d27d7c39b28 (diff)
use default arch
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 7cc5dd0bc..9d2e5a636 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -1248,7 +1248,8 @@ end
-- get allowed archs
--
-- add_allowedarchs("arm64", "x86_64", {plat = "macosx"})
--- add_allowedarchs("i386", {plat = "linux"})
+-- add_allowedarchs("i386", {plat = "linux", default = true})
+-- add_allowedarchs("arm64", "x86_64", {plat = "linux"})
--
function project.allowed_archs(plat)
local allowed_archs_set = project._ALLOWED_ARCHS