summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-26 20:47:33 +0800
committerruki <[email protected]>2024-05-26 20:47:33 +0800
commit52f0fa6864e2f6e26f4069d4b8c33a0067cc29bc (patch)
treebea3224aa9616a8f6cadf2774c2d62436cdbf0fb
parent4cdcaa4772957ab2672d2618ca11e1dcce0e71c2 (diff)
revert c++abi for clang
-rw-r--r--xmake/modules/core/tools/clang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index a7e5b1d11..76a1f773b 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -271,7 +271,7 @@ function nf_runtime(self, runtime, opt)
local target = opt.target or opt
local is_cxx = target and (target.sourcekinds and table.contains(table.wrap(target:sourcekinds()), "cxx"))
if is_cxx then
- maps["c++_static"] = {"-stdlib=libc++", "-lc++abi"}
+ maps["c++_static"] = "-stdlib=libc++"
maps["c++_shared"] = "-stdlib=libc++"
maps["stdc++_static"] = "-stdlib=libstdc++"
maps["stdc++_shared"] = "-stdlib=libstdc++"