summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-15 13:34:09 +0800
committerruki <[email protected]>2022-05-15 13:34:09 +0800
commit7130b7d34d42b4f544134b1d0aaa66554be055ec (patch)
tree8399dd65202381e3519e29893a7ee21d8d43a9f7 /xmake/modules/core/tools
parentba6bd4bba6db46f771e5b24cca0dda113b9caf3a (diff)
get tool info
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 0006267a3..523d5fc5e 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -458,7 +458,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags)
-- do compile
local program, argv = compargv(self, sourcefile, objectfile, compflags)
if distcc_build_client.is_distccjob() then
- return distcc_build_client.singleton():iorunv(program, argv, {envs = self:runenvs(), toolname = self:name()})
+ return distcc_build_client.singleton():iorunv(program, argv, {envs = self:runenvs(), tool = self})
else
return os.iorunv(program, argv, {envs = self:runenvs()})
end