summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/make.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-04 14:39:02 +0800
committerruki <[email protected]>2015-12-04 14:39:02 +0800
commit9ba9c65a0e8069b1c916fe2f482c8e6f23636452 (patch)
tree3acc028a5f9d672f8af1ba324bfd71fc484121e8 /xmake/scripts/tools/make.lua
parent6ece8be70e5141a69720f28e4f18b20664142ae3 (diff)
disable builti rule for make
Diffstat (limited to 'xmake/scripts/tools/make.lua')
-rw-r--r--xmake/scripts/tools/make.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/scripts/tools/make.lua b/xmake/scripts/tools/make.lua
index 4e7cb692a..b16d4880c 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 -j4 -f %s %s VERBOSE=%s", self.name, mkfile, target or "", self._VERBOSE)
+ cmd = string.format("%s -r -j4 -f %s %s VERBOSE=%s", self.name, mkfile, target or "", self._VERBOSE)
else
- cmd = string.format("%s -j4 %s VERBOSE=%s", self.name, target or "", self._VERBOSE)
+ cmd = string.format("%s -r -j4 %s VERBOSE=%s", self.name, target or "", self._VERBOSE)
end
-- done
@@ -55,9 +55,9 @@ function make.main(self, mkfile, target)
-- attempt to execute it again for getting the error logs without -j4
if mkfile and os.isfile(mkfile) then
- cmd = string.format("%s -f %s %s VERBOSE=%s", self.name, mkfile, target or "", self._VERBOSE)
+ cmd = string.format("%s -r -f %s %s VERBOSE=%s", self.name, mkfile, target or "", self._VERBOSE)
else
- cmd = string.format("%s %s VERBOSE=%s", self.name, target or "", self._VERBOSE)
+ cmd = string.format("%s -r %s VERBOSE=%s", self.name, target or "", self._VERBOSE)
end
-- done