summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/async/jobgraph.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/async/jobgraph.lua b/xmake/modules/async/jobgraph.lua
index 4bbc53ff4..1ed5873b7 100644
--- a/xmake/modules/async/jobgraph.lua
+++ b/xmake/modules/async/jobgraph.lua
@@ -73,7 +73,7 @@ function jobgraph:add(name, run, opt)
local dag = self._dag
local jobs = self._jobs
if not jobs[name] then
- local job = {name = name, run = run, opt = opt}
+ local job = {name = name, run = run, distcc = opt.distcc}
jobs[name] = job
dag:add_vertex(job)
self._size = self._size + 1