summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/make.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-16 21:01:44 +0800
committerruki <[email protected]>2015-06-16 21:01:44 +0800
commit3d97768287a089f862d841cb697b48852941b002 (patch)
tree2b71ddfd936e2d7117d057eee08c6c44a603f190 /xmake/scripts/tools/make.lua
parentd549aaedf96e6d6eb77e9d588dc0a0269cd1ae71 (diff)
modify makefile rule and enable make -j4
Diffstat (limited to 'xmake/scripts/tools/make.lua')
-rw-r--r--xmake/scripts/tools/make.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/tools/make.lua b/xmake/scripts/tools/make.lua
index 9deeebd2f..e28019b5b 100644
--- a/xmake/scripts/tools/make.lua
+++ b/xmake/scripts/tools/make.lua
@@ -44,9 +44,9 @@ function make.main(self, mkfile, target)
-- make command
local cmd = nil
if mkfile and os.isfile(mkfile) then
- cmd = string.format("%s -f %s %s VERBOSE=%s 2> %s", self.name, mkfile, target or "", self._VERBOSE, xmake._NULDEV)
+ cmd = string.format("%s -j4 -f %s %s VERBOSE=%s", self.name, mkfile, target or "", self._VERBOSE)
else
- cmd = string.format("%s %s VERBOSE=%s 2> %s", self.name, target or "", self._VERBOSE, xmake._NULDEV)
+ cmd = string.format("%s -j4 %s VERBOSE=%s", self.name, target or "", self._VERBOSE)
end
-- done