diff options
| author | ruki <[email protected]> | 2023-03-23 12:58:29 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-23 12:58:29 +0800 |
| commit | 19c31069f6336cb969f9fefc059890f3cc64d2d8 (patch) | |
| tree | 00e2261936e639b8d46766faf9e082532319ca36 | |
| parent | 0ebdd97360aefbb0968f4ad8b9d020b902234a60 (diff) | |
| parent | 80576d927ab5583458cf4008cee6a5e0f9eb2faa (diff) | |
Merge pull request #3552 from MaxwellGengYF/dev
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..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 = "-lmsvcrt", - MDd = "-lmsvcrtd" + MD = {"-nostdlib", "-lmsvcrt"}, + MDd = {"-nostdlib", "-lmsvcrtd"} } end return maps and maps[vs_runtime] |
