From 4f19017e0c4c1b0e383819768e6ed47230be21fc Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 28 Jun 2017 15:35:46 +0800 Subject: fix check toolchain bug --- xmake/platforms/checker.lua | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.3.1