diff options
| author | ruki <[email protected]> | 2024-01-20 23:42:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 12:09:58 +0800 |
| commit | eddb673f8fffc281fa9a5c9ef56ef0c00495a627 (patch) | |
| tree | 4751ce05ae47f80af73f8aa713de55fd513c8cbf /xmake/toolchains/clang | |
| parent | c622a4e8a6542cc9234344ab323139f5e8f23612 (diff) | |
limit toolchain runtimes
Diffstat (limited to 'xmake/toolchains/clang')
| -rw-r--r-- | xmake/toolchains/clang/xmake.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/toolchains/clang/xmake.lua b/xmake/toolchains/clang/xmake.lua index 0f9662cee..981cac82e 100644 --- a/xmake/toolchains/clang/xmake.lua +++ b/xmake/toolchains/clang/xmake.lua @@ -25,11 +25,10 @@ if version then suffix = suffix .. "-" .. version end toolchain("clang" .. suffix) - + set_kind("standalone") set_homepage("https://clang.llvm.org/") set_description("A C language family frontend for LLVM" .. (version and (" (" .. version .. ")") or "")) - - set_kind("standalone") + set_runtimes("c++_static", "c++_shared", "stdc++_static", "stdc++_shared") set_toolset("cc", "clang" .. suffix) set_toolset("cxx", "clang" .. suffix, "clang++" .. suffix) |
