From 52f0fa6864e2f6e26f4069d4b8c33a0067cc29bc Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 26 May 2024 20:47:33 +0800 Subject: revert c++abi for clang --- xmake/modules/core/tools/clang.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++" -- cgit v1.3.1