summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-28 15:35:46 +0800
committerruki <[email protected]>2017-06-28 15:35:46 +0800
commit4f19017e0c4c1b0e383819768e6ed47230be21fc (patch)
treee79b327ec75ff4635d893f923ebe66f8b716fb50
parentccfd6ad42253e6c31d5cc3d4e4d685798f57e2a2 (diff)
fix check toolchain bug
-rw-r--r--xmake/platforms/checker.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/platforms/checker.lua b/xmake/platforms/checker.lua
index 24256253d..bf6e60b8c 100644
--- a/xmake/platforms/checker.lua
+++ b/xmake/platforms/checker.lua
@@ -45,7 +45,6 @@ function _toolchain_check(config, toolkind, toolinfo)
local cross = config.get("cross") or toolinfo.cross or ""
-- attempt to check it
- local program = nil
if not program then
local tool = find_tool(name, {program = cross .. name, pathes = config.get("toolchains"), check = toolinfo.check})
if tool then