summaryrefslogtreecommitdiff
path: root/xmake/actions/build/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-03 14:11:09 +0800
committerruki <[email protected]>2016-07-03 14:11:09 +0800
commitbde33e64c9c036589c6f13d94bf577509fceb28d (patch)
tree69b0a2f3bf30e376cb73e19d315a22fb1335791b /xmake/actions/build/builder.lua
parent383c46c282fe0fcd82e2bc8a2d227cd0528af262 (diff)
fix check ar failed for windows
Diffstat (limited to 'xmake/actions/build/builder.lua')
-rwxr-xr-xxmake/actions/build/builder.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/build/builder.lua b/xmake/actions/build/builder.lua
index ee4c7eb5f..9ecbd4b25 100755
--- a/xmake/actions/build/builder.lua
+++ b/xmake/actions/build/builder.lua
@@ -92,7 +92,7 @@ function _build_object(target, index)
end
-- make command
- local command = compiler.command(target, sourcefile, objectfile)
+ local command = compiler.compcmd(sourcefile, objectfile, target)
-- uses ccache
local ccache = nil
@@ -194,7 +194,7 @@ function _build_target(target)
-- make the command for linking target
local targetfile = target:targetfile()
- local command = linker.command(target)
+ local command = linker.linkcmd(target:objectfiles(), targetfile, target)
-- trace
print("[%02d%%]: linking.$(mode) %s", _g.targetindex * 100 / _g.targetcount, path.filename(targetfile))