Skip to content

Commit 52f0fa6

Browse files
committed
revert c++abi for clang
1 parent 4cdcaa4 commit 52f0fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/core/tools/clang.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function nf_runtime(self, runtime, opt)
271271
local target = opt.target or opt
272272
local is_cxx = target and (target.sourcekinds and table.contains(table.wrap(target:sourcekinds()), "cxx"))
273273
if is_cxx then
274-
maps["c++_static"] = {"-stdlib=libc++", "-lc++abi"}
274+
maps["c++_static"] = "-stdlib=libc++"
275275
maps["c++_shared"] = "-stdlib=libc++"
276276
maps["stdc++_static"] = "-stdlib=libstdc++"
277277
maps["stdc++_shared"] = "-stdlib=libstdc++"

0 commit comments

Comments
 (0)