diff options
| author | ruki <[email protected]> | 2024-09-21 00:38:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-23 09:43:53 +0800 |
| commit | 4fd8d5eec226060ee62b24c56ae4e303d4ededba (patch) | |
| tree | 6094540f11896427cce7373e4e37d983dfc56951 /xmake/actions/config/xmake.lua | |
| parent | 478972cd989f6788925669b91d0bd8b4b38b2604 (diff) | |
improve host toolchain #5639
Diffstat (limited to 'xmake/actions/config/xmake.lua')
| -rw-r--r-- | xmake/actions/config/xmake.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index 4bf43c787..a2106bf07 100644 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -213,6 +213,12 @@ task("config") , " - xmake f --toolchain=[cross|llvm|sdcc ..] --sdk=/xxx" , " - run `xmake show -l toolchains` to get all toolchains" , values = _toolchain_values}, + {nil, "toolchain_host", "kv", nil, "Set host toolchain name, it's only for building packages on host machine." + , "e.g. " + , " - xmake f --toolchain_host=clang" + , " - xmake f --toolchain_host=[cross|llvm|sdcc ..] --sdk=/xxx" + , " - run `xmake show -l toolchains` to get all toolchains" + , values = _toolchain_values}, {nil, "runtimes", "kv", nil, "Set the compiler runtime library." , "e.g. " , " - xmake f --runtimes=MTd" |
