Skip to content

Commit f9bc475

Browse files
committed
improve clang toolchain
1 parent ff52d9d commit f9bc475

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xmake/toolchains/clang/xmake.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ toolchain("clang" .. suffix)
3434
set_toolset("cxx", "clang++" .. suffix, "clang" .. suffix)
3535
set_toolset("ld", "clang++" .. suffix, "clang" .. suffix)
3636
set_toolset("sh", "clang++" .. suffix, "clang" .. suffix)
37-
set_toolset("ar", "ar", "llvm-ar" .. suffix)
38-
set_toolset("strip", "strip", "llvm-strip" .. suffix)
39-
set_toolset("ranlib", "ranlib", "llvm-ranlib" .. suffix)
40-
set_toolset("objcopy", "objcopy", "llvm-objcopy" .. suffix)
37+
set_toolset("ar", "llvm-ar" .. suffix, "ar")
38+
set_toolset("strip", "llvm-strip" .. suffix, "strip")
39+
set_toolset("ranlib", "llvm-ranlib" .. suffix, "ranlib")
40+
set_toolset("objcopy", "llvm-objcopy" .. suffix, "objcopy")
4141
set_toolset("mm", "clang" .. suffix)
4242
set_toolset("mxx", "clang++" .. suffix, "clang" .. suffix)
4343
set_toolset("as", "clang" .. suffix)

0 commit comments

Comments
 (0)