summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
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