diff options
| author | ruki <[email protected]> | 2015-06-05 13:38:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-05 13:38:12 +0800 |
| commit | ce6af9d93717a57792fc7d371f0fea9c40878c2f (patch) | |
| tree | ad68f1ea18284b12fdc3a364f88350b0ffed7c58 /xmake/scripts/base/makefile.lua | |
| parent | 9c4c565ef5cba3c668b338ed0066cff0d58e8caa (diff) | |
fix verbose for makefile
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
| -rw-r--r-- | xmake/scripts/base/makefile.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua index 275e15d07..b0658bfed 100644 --- a/xmake/scripts/base/makefile.lua +++ b/xmake/scripts/base/makefile.lua @@ -74,7 +74,7 @@ function makefile._make_object(file, target, srcfile, objfile) -- make body file:write(string.format("\t@echo %scompiling%s %s\n", utils.ifelse(ccache, "ccache ", ""), mode, srcfile)) - file:write(string.format("\t@xmake l $(VERBOSE) verbose \"%s\"\n", cmd:gsub("%s", "%%20"))) + file:write(string.format("\t@xmake l $(VERBOSE) verbose \"%s\"\n", cmd:gsub("%s", "%%20"):gsub("=", "%%3d"):gsub("\"", "%%22"))) file:write(string.format("\t@xmake l mkdir %s\n", path.directory(objfile))) file:write(string.format("\t@%s > %s 2>&1\n", cmd, makefile._LOGFILE)) @@ -156,7 +156,7 @@ function makefile._make_target(file, name, target) -- make body local cmd = linker.make(l, target, objfiles, targetfile) file:write(string.format("\t@echo linking%s %s\n", mode, path.filename(targetfile))) - file:write(string.format("\t@xmake l $(VERBOSE) verbose \"%s\"\n", cmd:gsub("%s", "%%20"))) + file:write(string.format("\t@xmake l $(VERBOSE) verbose \"%s\"\n", cmd:gsub("%s", "%%20"):gsub("=", "%%3d"):gsub("\"", "%%22"))) file:write(string.format("\t@xmake l mkdir %s\n", path.directory(targetfile))) file:write(string.format("\t@%s > %s 2>&1\n", cmd, makefile._LOGFILE)) |
