summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxwell Geng <[email protected]>2023-03-23 12:39:51 +0800
committerMaxwell Geng <[email protected]>2023-03-23 12:39:51 +0800
commit80576d927ab5583458cf4008cee6a5e0f9eb2faa (patch)
tree00e2261936e639b8d46766faf9e082532319ca36
parentee2e1097d667b6adee488b6d1784afc6779acea1 (diff)
Reformat arguments
-rw-r--r--xmake/modules/core/tools/clang.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index 2dc9caf8f..0c88c2302 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -179,8 +179,8 @@ function nf_runtime(self, vs_runtime)
}
elseif kind == "ld" or kind == "sh" then
maps = {
- MD = "-nostdlib -lmsvcrt",
- MDd = "-nostdlib -lmsvcrtd"
+ MD = {"-nostdlib", "-lmsvcrt"},
+ MDd = {"-nostdlib", "-lmsvcrtd"}
}
end
return maps and maps[vs_runtime]