From a7c090202ecfd4b458a611d2576a3537b287ea40 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 15 May 2022 21:17:20 +0800 Subject: enable objc for distcc --- xmake/rules/objc++/xmake.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/rules/objc++/xmake.lua b/xmake/rules/objc++/xmake.lua index 0107690e7..8a560f780 100644 --- a/xmake/rules/objc++/xmake.lua +++ b/xmake/rules/objc++/xmake.lua @@ -31,7 +31,7 @@ rule("objc.build") target:add("frameworks", "Foundation", "CoreFoundation") end end) - on_build_files("private.action.build.object", {batch = true}) + on_build_files("private.action.build.object", {batch = true, distcc = true}) -- define rule: objc++.build rule("objc++.build") @@ -46,7 +46,7 @@ rule("objc++.build") target:add("frameworks", "Foundation", "CoreFoundation") end end) - on_build_files("private.action.build.object", {batch = true}) + on_build_files("private.action.build.object", {batch = true, distcc = true}) -- define rule: objc rule("objc++") -- cgit v1.3.1