summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/toolchains/xcode/xmake.lua')
-rw-r--r--xmake/toolchains/xcode/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/toolchains/xcode/xmake.lua b/xmake/toolchains/xcode/xmake.lua
index 87df96fa6..dfe224d29 100644
--- a/xmake/toolchains/xcode/xmake.lua
+++ b/xmake/toolchains/xcode/xmake.lua
@@ -40,14 +40,14 @@ toolchain("xcode")
local xc_dsymutil = bindir and path.join(bindir, "dsymutil") or "dsymutil"
toolchain:set("toolset", "cc", xc_clang)
- toolchain:set("toolset", "cxx", xc_clang, xc_clangxx)
+ toolchain:set("toolset", "cxx", xc_clangxx, xc_clang)
toolchain:set("toolset", "ld", xc_clangxx, xc_clang)
toolchain:set("toolset", "sh", xc_clangxx, xc_clang)
toolchain:set("toolset", "ar", xc_ar)
toolchain:set("toolset", "strip", xc_strip)
toolchain:set("toolset", "dsymutil", xc_dsymutil, "dsymutil")
toolchain:set("toolset", "mm", xc_clang)
- toolchain:set("toolset", "mxx", xc_clang, xc_clangxx)
+ toolchain:set("toolset", "mxx", xc_clangxx, xc_clang)
toolchain:set("toolset", "sc", xc_swift_frontend, "swift_frontend", xc_swiftc, "swiftc")
toolchain:set("toolset", "scld", xc_swiftc, "swiftc")
toolchain:set("toolset", "scsh", xc_swiftc, "swiftc")