summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-05 16:06:45 +0800
committerruki <[email protected]>2015-06-05 16:06:45 +0800
commit411e3138ec53ab99c73f0124ef93ac98d746cdc9 (patch)
treed7e719ea57e12402f630deb1ed998a00304510ff /xmake/scripts/platform/windows/tools/cl.lua
parentfe68854c321f2e586cab55dce6856b89241b4c20 (diff)
join flags for compiler and linker
Diffstat (limited to 'xmake/scripts/platform/windows/tools/cl.lua')
-rw-r--r--xmake/scripts/platform/windows/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/tools/cl.lua b/xmake/scripts/platform/windows/tools/cl.lua
index a8ab807a7..24c45bec3 100644
--- a/xmake/scripts/platform/windows/tools/cl.lua
+++ b/xmake/scripts/platform/windows/tools/cl.lua
@@ -32,10 +32,10 @@ local config = require("base/config")
function cl.init(name)
-- init cflags
- cl.cflags = "-nologo"
+ cl.cflags = { "-nologo" }
-- init cxxflags
- cl.cxxflags = "-nologo"
+ cl.cxxflags = { "-nologo" }
end