From 12ce7dea3c7a74f77e9792236cb85bab4fd001e4 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 5 Jun 2015 10:18:00 +0800 Subject: add ccache --- xmake/scripts/tools/make.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/tools/make.lua') diff --git a/xmake/scripts/tools/make.lua b/xmake/scripts/tools/make.lua index 06a3a92dc..25dd13515 100644 --- a/xmake/scripts/tools/make.lua +++ b/xmake/scripts/tools/make.lua @@ -44,9 +44,9 @@ function make.main(mkfile, target) -- make command local cmd = nil if mkfile and os.isfile(mkfile) then - cmd = string.format("%s -j4 -f %s %s VERBOSE=%s", make.name, mkfile, target or "", make._VERBOSE) + cmd = string.format("%s -j4 -f %s %s VERBOSE=%s 2> %s", make.name, mkfile, target or "", make._VERBOSE, xmake._NULDEV) else - cmd = string.format("%s -j4 %s VERBOSE=%s", make.name, target or "", make._VERBOSE) + cmd = string.format("%s -j4 %s VERBOSE=%s 2> %s", make.name, target or "", make._VERBOSE, xmake._NULDEV) end -- done -- cgit v1.3.1