summaryrefslogtreecommitdiff
path: root/xmake/toolchains/tinycc/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-12 00:43:47 +0800
committerruki <[email protected]>2024-04-12 00:43:47 +0800
commit5bbe73d7c0da9af023346d0b2b88d5177d464194 (patch)
tree5e87842021d2a8d804c6243f84b4d6a52831ab1c /xmake/toolchains/tinycc/xmake.lua
parentb6985095f39c3ba5675fb602a6c0718b5ac2add6 (diff)
fix to find tinycc
Diffstat (limited to 'xmake/toolchains/tinycc/xmake.lua')
-rw-r--r--xmake/toolchains/tinycc/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/tinycc/xmake.lua b/xmake/toolchains/tinycc/xmake.lua
index 8fcdb9c7a..ee4730b90 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