diff options
| author | Maxwell Geng <[email protected]> | 2023-03-23 10:14:42 +0800 |
|---|---|---|
| committer | Maxwell Geng <[email protected]> | 2023-03-23 10:14:42 +0800 |
| commit | ee2e1097d667b6adee488b6d1784afc6779acea1 (patch) | |
| tree | 25aac7f09994b307d9593b41fb3f3c3416d8ce2e | |
| parent | 0ebdd97360aefbb0968f4ad8b9d020b902234a60 (diff) | |
Fixed libcmt warning
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 16bc0f245..2dc9caf8f 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 = "-lmsvcrt", - MDd = "-lmsvcrtd" + MD = "-nostdlib -lmsvcrt", + MDd = "-nostdlib -lmsvcrtd" } end return maps and maps[vs_runtime] |
