summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-14 22:24:11 +0800
committerruki <[email protected]>2022-05-14 22:24:17 +0800
commita413ba4233bf4887171c59add0cdc70394315f40 (patch)
treed5c4a203a2c71909e5c806d82e4ffaebdaadf005 /xmake/modules/core/tools/gcc.lua
parentf11b49af348fc73962667a27728052d1cc56b712 (diff)
dispatch iorunv for distcc
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-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 17f3fc97d..0006267a3 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()})
+ return distcc_build_client.singleton():iorunv(program, argv, {envs = self:runenvs(), toolname = self:name()})
else
return os.iorunv(program, argv, {envs = self:runenvs()})
end