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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index b99bfdfca..e56f2d300 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -254,7 +254,7 @@ function compiler:compargv(sourcefiles, objectfile, opt)
end
compflags = self:compflags(opt)
end
- return self:_tool():compargv(sourcefiles, objectfile, compflags)
+ return self:_tool():compargv(sourcefiles, objectfile, compflags, opt)
end
-- get the compile command