summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/platforms/linux/check.lua')
-rw-r--r--xmake/platforms/linux/check.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua
index 71d2e555c..2d3a4a063 100644
--- a/xmake/platforms/linux/check.lua
+++ b/xmake/platforms/linux/check.lua
@@ -24,28 +24,5 @@ import("private.platform.check_arch")
-- check it
function main(platform)
-
- -- check arch
check_arch(config, os.arch())
-
- -- check toolchains
- local toolchains = platform:toolchains()
- local idx = 1
- local num = #toolchains
- local standalone = false
- while idx <= num do
- local toolchain = toolchains[idx]
- -- we need remove other standalone toolchains if standalone toolchain found
- if (standalone and toolchain:standalone()) or not toolchain:check() then
- table.remove(toolchains, idx)
- num = num - 1
- else
- if toolchain:standalone() then
- standalone = true
- end
- idx = idx + 1
- end
- end
- assert(#toolchains > 0, "toolchains not found!")
end
-