summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-17 00:46:58 +0800
committerruki <[email protected]>2025-09-17 00:46:58 +0800
commitd8a33ac4341a747119b151efdfa50d9d50660926 (patch)
tree8f8136423179eade8ec7b9babf58cd3aac9d0a9d /xmake/toolchains/xcode
parent54bc2d2a3f07b875bafa4437c8b7138eed8641a7 (diff)
improve xcode
Diffstat (limited to 'xmake/toolchains/xcode')
-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")