summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-27 21:57:16 +0800
committerruki <[email protected]>2021-03-27 21:57:16 +0800
commit1ed1d81721dea8349129c2c713918e86e5464d71 (patch)
tree3b6d1989c80f25057103d4a9fa851c1ca5abad45
parentb00f2a185bb546d7bc90b93d2af96d7e1e15ec1b (diff)
improve to find cross toolchain
-rw-r--r--xmake/modules/detect/sdks/find_cross_toolchain.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_cross_toolchain.lua b/xmake/modules/detect/sdks/find_cross_toolchain.lua
index f2df87e2f..800e12a26 100644
--- a/xmake/modules/detect/sdks/find_cross_toolchain.lua
+++ b/xmake/modules/detect/sdks/find_cross_toolchain.lua
@@ -31,7 +31,6 @@ function _find_bindir(sdkdir, opt)
table.insert(bindirs, opt.bindir)
end
table.insert(bindirs, path.join(sdkdir, "bin"))
- table.insert(bindirs, path.join(sdkdir, "**", "bin"))
-- attempt to find *-[gcc|clang|ld]
for _, toolname in ipairs({"gcc", "clang", "ld"}) do