From 5bbe73d7c0da9af023346d0b2b88d5177d464194 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 12 Apr 2024 00:43:47 +0800 Subject: [PATCH] fix to find tinycc --- xmake/toolchains/tinycc/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/toolchains/tinycc/xmake.lua b/xmake/toolchains/tinycc/xmake.lua index 8fcdb9c7a9c..ee4730b903a 100644 --- a/xmake/toolchains/tinycc/xmake.lua +++ b/xmake/toolchains/tinycc/xmake.lua @@ -39,7 +39,7 @@ toolchain("tinycc") table.insert(paths, path.join(installdir, "bin")) end end - local tcc = find_tool("tcc", {paths = paths}) + local tcc = find_tool("tcc", {paths = paths, force = true}) if tcc then toolchain:config_set("tcc", tcc.program) if os.isfile(tcc.program) then