summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux/_linux.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/linux/_linux.lua')
-rw-r--r--xmake/scripts/platform/linux/_linux.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/xmake/scripts/platform/linux/_linux.lua b/xmake/scripts/platform/linux/_linux.lua
index e33a81d8f..4b70986c4 100644
--- a/xmake/scripts/platform/linux/_linux.lua
+++ b/xmake/scripts/platform/linux/_linux.lua
@@ -26,6 +26,9 @@ local _linux = _linux or {}
-- init host
_linux._HOST = "linux"
+-- init architectures
+_linux._ARCHS = {"x86", "x64"}
+
-- make configure
function _linux.make(configs)
@@ -34,11 +37,6 @@ function _linux.make(configs)
configs.formats.static = {"lib", ".a"}
configs.formats.object = {"", ".o"}
configs.formats.shared = {"", ".so"}
-
- -- init the architecture scopes
- configs.archs = {}
- configs.archs.x86 = {}
- configs.archs.x64 = {}
end
-- get the option menu for action: xmake config or global