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/rules/c++/xmake.lua | |
| parent | ced902127370a7d81cc563b4d4079cb34ff18ff8 (diff) | |
mark distcc-able jobs
Diffstat (limited to 'xmake/rules/c++/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua index 91ac9549c..4fd167722 100644 --- a/xmake/rules/c++/xmake.lua +++ b/xmake/rules/c++/xmake.lua @@ -26,7 +26,7 @@ rule("c.build.pcheader") rule("c.build") set_sourcekinds("cc") add_deps("c.build.pcheader") - on_build_files("private.action.build.object", {batch = true}) + on_build_files("private.action.build.object", {batch = true, distcc = true}) rule("c++.build.pcheader") before_build(function (target, opt) @@ -36,7 +36,7 @@ rule("c++.build.pcheader") rule("c++.build") set_sourcekinds("cxx") add_deps("c++.build.pcheader", "c++.build.modules") - on_build_files("private.action.build.object", {batch = true}) + on_build_files("private.action.build.object", {batch = true, distcc = true}) rule("c++") |
