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/gcc/xmake.lua | |
| parent | c622a4e8a6542cc9234344ab323139f5e8f23612 (diff) | |
limit toolchain runtimes
Diffstat (limited to 'xmake/toolchains/gcc/xmake.lua')
| -rw-r--r-- | xmake/toolchains/gcc/xmake.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/toolchains/gcc/xmake.lua b/xmake/toolchains/gcc/xmake.lua index 365341eda..b21f3592e 100644 --- a/xmake/toolchains/gcc/xmake.lua +++ b/xmake/toolchains/gcc/xmake.lua @@ -25,15 +25,11 @@ if version then suffix = suffix .. "-" .. version end toolchain("gcc" .. suffix) - - -- set homepage + set_kind("standalone") set_homepage("https://gcc.gnu.org/") set_description("GNU Compiler Collection" .. (version and (" (" .. version .. ")") or "")) + set_runtimes("c++_static", "c++_shared", "stdc++_static", "stdc++_shared") - -- mark as standalone toolchain - set_kind("standalone") - - -- set toolset set_toolset("cc", "gcc" .. suffix) set_toolset("cxx", "gcc" .. suffix, "g++" .. suffix) set_toolset("ld", "g++" .. suffix, "gcc" .. suffix) |
