diff options
| author | ruki <[email protected]> | 2025-09-21 13:34:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-21 13:34:22 +0800 |
| commit | f9bc475a5ba47b954d23d16c71a4b6bbd4cb6ca4 (patch) | |
| tree | a0e74b12daf5c9e1f95210316abb55ebbfca7c40 | |
| parent | ff52d9da8840c689867a915e0971a8a03678e8ad (diff) | |
improve clang toolchain
| -rw-r--r-- | xmake/toolchains/clang/xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/toolchains/clang/xmake.lua b/xmake/toolchains/clang/xmake.lua index bafffd95d..8fe2c5c13 100644 --- a/xmake/toolchains/clang/xmake.lua +++ b/xmake/toolchains/clang/xmake.lua @@ -34,10 +34,10 @@ toolchain("clang" .. suffix) set_toolset("cxx", "clang++" .. suffix, "clang" .. suffix) set_toolset("ld", "clang++" .. suffix, "clang" .. suffix) set_toolset("sh", "clang++" .. suffix, "clang" .. suffix) - set_toolset("ar", "ar", "llvm-ar" .. suffix) - set_toolset("strip", "strip", "llvm-strip" .. suffix) - set_toolset("ranlib", "ranlib", "llvm-ranlib" .. suffix) - set_toolset("objcopy", "objcopy", "llvm-objcopy" .. suffix) + set_toolset("ar", "llvm-ar" .. suffix, "ar") + set_toolset("strip", "llvm-strip" .. suffix, "strip") + set_toolset("ranlib", "llvm-ranlib" .. suffix, "ranlib") + set_toolset("objcopy", "llvm-objcopy" .. suffix, "objcopy") set_toolset("mm", "clang" .. suffix) set_toolset("mxx", "clang++" .. suffix, "clang" .. suffix) set_toolset("as", "clang" .. suffix) |
