summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-12 13:07:18 +0800
committerruki <[email protected]>2017-07-12 13:07:18 +0800
commitf6688e9eaff8ce02c097ba4e1da27d9efd8ece90 (patch)
tree00248715b7f53a9957d35d833fc4f3127a86f0f7 /xmake/core/tool/compiler.lua
parent7346528e00d1175b1ee4ce0c88234434a47a35ec (diff)
add os.args and fix command args
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 e6104608f..c477f8d8a 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -245,7 +245,7 @@ function compiler:compflags(opt)
self:_addflags_from_compiler(flags, targetkind)
-- make flags string
- local flags_str = table.concat(flags, " "):trim():gsub("\"", "\\\"")
+ local flags_str = os.args(flags)
-- save flags
if key then