diff options
| author | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
|---|---|---|
| committer | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
| commit | f75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch) | |
| tree | 278e00b17c8f5558df1c1a21f1204078ea62a58f /xmake/toolchains | |
| parent | ca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff) | |
Fix grammar
Diffstat (limited to 'xmake/toolchains')
| -rw-r--r-- | xmake/toolchains/clang-cl/check.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/dlang/check.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/gdc/check.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/ldc/check.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/ndk/check.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/ndk/load.lua | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/xmake/toolchains/clang-cl/check.lua b/xmake/toolchains/clang-cl/check.lua index 7f683f2c8..a2397908e 100644 --- a/xmake/toolchains/clang-cl/check.lua +++ b/xmake/toolchains/clang-cl/check.lua @@ -27,7 +27,7 @@ import("lib.detect.find_tool") -- attempt to check vs environment function _check_vsenv(toolchain) - -- have been checked? + -- has been checked? local vs = toolchain:config("vs") or config.get("vs") if vs then vs = tostring(vs) diff --git a/xmake/toolchains/dlang/check.lua b/xmake/toolchains/dlang/check.lua index fb0dc0aaa..16bb6cc62 100644 --- a/xmake/toolchains/dlang/check.lua +++ b/xmake/toolchains/dlang/check.lua @@ -30,7 +30,7 @@ function main(toolchain) return true end - -- we need find ldc2 and gdc in the given toolchain sdk directory + -- we need to find ldc2 and gdc in the given toolchain sdk directory local sdkdir = toolchain:sdkdir() local bindir = toolchain:bindir() local cross = toolchain:cross() diff --git a/xmake/toolchains/gdc/check.lua b/xmake/toolchains/gdc/check.lua index 7df55de8b..1d9c93265 100644 --- a/xmake/toolchains/gdc/check.lua +++ b/xmake/toolchains/gdc/check.lua @@ -30,7 +30,7 @@ function main(toolchain) return true end - -- we need find gdc2 in the given toolchain sdk directory + -- we need to find gdc2 in the given toolchain sdk directory local sdkdir = toolchain:sdkdir() local bindir = toolchain:bindir() local cross = toolchain:cross() diff --git a/xmake/toolchains/ldc/check.lua b/xmake/toolchains/ldc/check.lua index 44f6a9a63..c6fb2d103 100644 --- a/xmake/toolchains/ldc/check.lua +++ b/xmake/toolchains/ldc/check.lua @@ -30,7 +30,7 @@ function main(toolchain) return true end - -- we need find ldc2 in the given toolchain sdk directory + -- we need to find ldc2 in the given toolchain sdk directory local sdkdir = toolchain:sdkdir() local bindir = toolchain:bindir() local cross = toolchain:cross() diff --git a/xmake/toolchains/ndk/check.lua b/xmake/toolchains/ndk/check.lua index 991e4e3d9..fd6dc3b99 100644 --- a/xmake/toolchains/ndk/check.lua +++ b/xmake/toolchains/ndk/check.lua @@ -58,7 +58,7 @@ function _check_ndk(toolchain) toolchain:configs_save() return true else - --[[TODO we need also add this tips when use remote ndk toolchain + --[[TODO we also need to add this tips when use remote ndk toolchain -- failed cprint("${bright color.error}please run:") cprint(" - xmake config --ndk=xxx") diff --git a/xmake/toolchains/ndk/load.lua b/xmake/toolchains/ndk/load.lua index 494558673..325c2f807 100644 --- a/xmake/toolchains/ndk/load.lua +++ b/xmake/toolchains/ndk/load.lua @@ -344,7 +344,7 @@ function main(toolchain) end toolchain:add("rcshflags", "-C link-args=\"" .. (table.concat(rcshflags, " "):gsub("%-march=.-%s", "") .. "\"")) toolchain:add("rcldflags", "-C link-args=\"" .. (table.concat(rcldflags, " "):gsub("%-march=.-%s", "") .. "\"")) - local sh = toolchain:tool("sh") -- @note we cannot use `config.get("sh")`, because we need check sh first + local sh = toolchain:tool("sh") -- @note we cannot use `config.get("sh")`, because we need to check sh first if sh then toolchain:add("rcshflags", "-C linker=" .. sh) end |
