diff options
| author | ruki <[email protected]> | 2022-05-13 23:49:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-13 23:49:04 +0800 |
| commit | 2ff45f35b6e2c68ef4e9b84374e46bd8a204d4d2 (patch) | |
| tree | 709ae7b420af0ed25c4758d5b812776e88903b69 /xmake/modules/private/action/build/object.lua | |
| parent | ced902127370a7d81cc563b4d4079cb34ff18ff8 (diff) | |
mark distcc-able jobs
Diffstat (limited to 'xmake/modules/private/action/build/object.lua')
| -rw-r--r-- | xmake/modules/private/action/build/object.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua index e07ab76b7..3d68dcfa2 100644 --- a/xmake/modules/private/action/build/object.lua +++ b/xmake/modules/private/action/build/object.lua @@ -114,6 +114,6 @@ function main(target, batchjobs, sourcebatch, opt) batchjobs:addjob(sourcefile, function (index, total) local build_opt = table.join({objectfile = objectfile, dependfile = dependfile, sourcekind = sourcekind, progress = (index * 100) / total}, opt) build_object(target, sourcefile, build_opt) - end, {rootjob = rootjob}) + end, {rootjob = rootjob, distcc = opt.distcc}) end end |
