summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-04 09:15:14 +0800
committerruki <[email protected]>2016-07-04 09:15:14 +0800
commit4f352825fa293e1dd5a81c1ce986ecd76b71a9f9 (patch)
treed4f693b65be01e22ee69667b62976d8982e0f4a8 /xmake/platforms/linux/xmake.lua
parent0dc9e08fe6f74a9b98a37e00bcdeb50ed317b3df (diff)
fix get ar failed after checking ar
Diffstat (limited to 'xmake/platforms/linux/xmake.lua')
-rwxr-xr-xxmake/platforms/linux/xmake.lua14
1 files changed, 1 insertions, 13 deletions
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua
index f2c4552ca..142a5f2c6 100755
--- a/xmake/platforms/linux/xmake.lua
+++ b/xmake/platforms/linux/xmake.lua
@@ -52,19 +52,7 @@ platform("linux")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".so"}
-
- -- init the toolchains
- _g.tools = {}
- _g.tools.ccache = config.get("__ccache")
- _g.tools.cc = config.get("cc")
- _g.tools.cxx = config.get("cxx")
- _g.tools.as = config.get("as")
- _g.tools.ld = config.get("ld")
- _g.tools.ar = config.get("ar")
- _g.tools.sh = config.get("sh")
- _g.tools.ex = config.get("ar")
- _g.tools.sc = config.get("sc")
-
+
-- cross toolchains?
if config.get("cross") then