summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/makefile.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-24 14:24:08 +0800
committerruki <[email protected]>2015-06-24 14:24:08 +0800
commitd9ee17f8892ee0537b5bbc461e760b4a5cb0a763 (patch)
tree8ae97724e5ec13011d463fbc5ed46d345da89da4 /xmake/scripts/base/makefile.lua
parentfd42ceb8e86322924d82aced97ad89accadb7592 (diff)
modify platform and makefile
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
-rw-r--r--xmake/scripts/base/makefile.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua
index 7b1ca2e7d..e6121d8a2 100644
--- a/xmake/scripts/base/makefile.lua
+++ b/xmake/scripts/base/makefile.lua
@@ -183,7 +183,8 @@ function makefile._make_target(file, name, target)
local verbose = cmd:gsub("[%s=\"<]", function (w) return string.format("%%%x", w:byte()) end)
-- too long?
if verbose and #verbose > 256 then
- verbose = verbose:sub(1, 256) .. " ..."
+ verbose = linker.make(l, target, {rule.filename("*", "object")}, targetfile)
+ verbose = verbose:gsub("[%s=\"<]", function (w) return string.format("%%%x", w:byte()) end)
end
-- make body