diff options
| -rw-r--r-- | xmake/actions/config/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/platforms/cross/config.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index 597f4c0aa..894e7eb12 100644 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -166,7 +166,7 @@ task("config") , " - sdk/bin" , " - sdk/lib" , " - sdk/include" } - , {nil, "sdkname", "kv", nil, "The Cross SDK Name" + , {nil, "toolchain", "kv", nil, "The Cross Toolchain Name" , "e.g." , " - llvm" } diff --git a/xmake/platforms/cross/config.lua b/xmake/platforms/cross/config.lua index cbd54ad25..b159cf5c1 100644 --- a/xmake/platforms/cross/config.lua +++ b/xmake/platforms/cross/config.lua @@ -107,7 +107,7 @@ function _toolchains() local cross = config.get("cross") or "" -- for llvm toolchains? - if cross == "" and config.get("sdkname") == "llvm" then + if cross == "" and config.get("toolchain") == "llvm" then return _toolchains_llvm() end |
