summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows/tools/cl.lua
diff options
context:
space:
mode:
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