summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/platforms/macosx/check.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/xmake/platforms/macosx/check.lua b/xmake/platforms/macosx/check.lua
index b37519cdb..c85d408e7 100644
--- a/xmake/platforms/macosx/check.lua
+++ b/xmake/platforms/macosx/check.lua
@@ -52,6 +52,20 @@ function _toolchains(config)
checker.toolchain_insert(toolchains, "ex", "xcrun -sdk macosx ", "ar", "the static library extractor")
checker.toolchain_insert(toolchains, "sh", "xcrun -sdk macosx ", "clang++", "the shared library linker")
checker.toolchain_insert(toolchains, "sh", "xcrun -sdk macosx ", "clang", "the shared library linker")
+ checker.toolchain_insert(toolchains, "cc", "", "clang", "the c compiler")
+ checker.toolchain_insert(toolchains, "cc", "", "gcc", "the c compiler")
+ checker.toolchain_insert(toolchains, "cxx", "", "clang", "the c++ compiler")
+ checker.toolchain_insert(toolchains, "cxx", "", "gcc", "the c++ compiler")
+ checker.toolchain_insert(toolchains, "ld", "", "clang++", "the linker")
+ checker.toolchain_insert(toolchains, "ld", "", "g++", "the linker")
+ checker.toolchain_insert(toolchains, "ld", "", "clang", "the linker")
+ checker.toolchain_insert(toolchains, "ld", "", "gcc", "the linker")
+ checker.toolchain_insert(toolchains, "ar", "", "ar", "the static library archiver")
+ checker.toolchain_insert(toolchains, "ex", "", "ar", "the static library extractor")
+ checker.toolchain_insert(toolchains, "sh", "", "clang++", "the shared library linker")
+ checker.toolchain_insert(toolchains, "sh", "", "g++", "the shared library linker")
+ checker.toolchain_insert(toolchains, "sh", "", "clang", "the shared library linker")
+ checker.toolchain_insert(toolchains, "sh", "", "gcc", "the shared library linker")
-- insert objc/c++ tools to toolchains
checker.toolchain_insert(toolchains, "mm", "", "$(env MM)", "the objc compiler")