summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-10 16:07:52 +0800
committerruki <[email protected]>2016-07-10 16:07:52 +0800
commite281ea26c19103dcbc7f951a8592eeb6a1ff63a3 (patch)
treeb2ef3ea44478ad5d7ec5cf3f1a11e65213fd379b /xmake/core/tool/compiler.lua
parentfd39adb3d959e605370098a72ec7e92b462fce62 (diff)
parse includes from cl.exe
Diffstat (limited to 'xmake/core/tool/compiler.lua')
-rw-r--r--xmake/core/tool/compiler.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index a523af449..7b8e1b909 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -399,7 +399,7 @@ function compiler:get(name)
end
-- compile the source file
-function compiler:compile(sourcefile, objectfile, incdepfile, target, multitasking)
+function compiler:compile(sourcefile, objectfile, incdepfile, target)
-- get flags
local flags = nil
@@ -408,7 +408,7 @@ function compiler:compile(sourcefile, objectfile, incdepfile, target, multitaski
end
-- compile it
- return sandbox.load(self:_tool().compile, sourcefile, objectfile, incdepfile, flags or "", multitasking)
+ return sandbox.load(self:_tool().compile, sourcefile, objectfile, incdepfile, flags or "")
end
-- get the compile command