diff options
| author | ruki <[email protected]> | 2025-12-20 00:35:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-20 00:35:46 +0800 |
| commit | 3608bf0165ec41d87c93137ae6aaf2eb3c82f86b (patch) | |
| tree | 7b82147030b0fd2ff2a01ce6160609d656330528 /xmake/toolchains/llvm/xmake.lua | |
| parent | dee8082d12241d69cf370c7f566c48c0ca8827bd (diff) | |
fix runtimes for clang/llvm
Diffstat (limited to 'xmake/toolchains/llvm/xmake.lua')
| -rw-r--r-- | xmake/toolchains/llvm/xmake.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmake/toolchains/llvm/xmake.lua b/xmake/toolchains/llvm/xmake.lua index b8f37bec1..4a89b4f32 100644 --- a/xmake/toolchains/llvm/xmake.lua +++ b/xmake/toolchains/llvm/xmake.lua @@ -22,7 +22,6 @@ toolchain("llvm") set_kind("standalone") set_homepage("https://llvm.org/") set_description("A collection of modular and reusable compiler and toolchain technologies") - set_runtimes("c++_static", "c++_shared", "stdc++_static", "stdc++_shared") set_toolset("cc", "clang") set_toolset("cxx", "clang++", "clang") @@ -52,10 +51,8 @@ toolchain("llvm") on_load(function (toolchain) import("private.utils.toolchain", {alias = "toolchain_utils"}) - -- add runtimes - if toolchain:is_plat("windows") then - toolchain:add("runtimes", "MT", "MTd", "MD", "MDd") - end + -- set llvm runtimes + toolchain_utils.set_llvm_runtimes(toolchain) -- add llvm runenvs toolchain_utils.add_llvm_runenvs(toolchain) |
