summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-19 14:25:52 +0800
committerruki <[email protected]>2017-06-19 14:25:52 +0800
commita7a3cc2feea64ced59e5c861f6d486adf6ec32b1 (patch)
treed251cf2e674aa51eeb04aa6f1b9cdececd3c0134 /xmake/platforms/linux/check.lua
parentf2620eea847263299cae03a36726140152530291 (diff)
fix unused args errors for gcc/clang
Diffstat (limited to 'xmake/platforms/linux/check.lua')
-rw-r--r--xmake/platforms/linux/check.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua
index 260c8ca9f..e734850f0 100644
--- a/xmake/platforms/linux/check.lua
+++ b/xmake/platforms/linux/check.lua
@@ -69,7 +69,6 @@ function _toolchains(config)
checker.toolchain_insert(toolchains, "cxx", "", "$(env CXX)", "the linker")
checker.toolchain_insert(toolchains, "ld", "", "$(env LD)", "the linker")
checker.toolchain_insert(toolchains, "ld", "", "$(env CXX)", "the linker")
- checker.toolchain_insert(toolchains, "ld", "", "$(env CC)", "the linker")
checker.toolchain_insert(toolchains, "ar", "", "$(env AR)", "the static library archiver")
checker.toolchain_insert(toolchains, "sh", "", "$(env SH)", "the shared library linker")
checker.toolchain_insert(toolchains, "mm", "", "$(env MM)", "the objc compiler")