summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-11 16:09:17 +0800
committerruki <[email protected]>2026-04-11 16:09:17 +0800
commitc449ac5dcb11f1fa1369d17d06251aeb53ed5afc (patch)
tree8e5625557efc7ea24fd456d7a93d32fa1ce42130
parent4dde60c71adf3de9b1c49f6f28bb235673846ae9 (diff)
fix clang with c++_static
-rw-r--r--xmake/modules/core/tools/clang.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index c8758b21e..17e0f6cd6 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -285,7 +285,6 @@ function nf_runtime(self, runtime, opt)
end
end
if runtime:endswith("_static") and _has_static_libstdcxx(self) then
- maps["c++_static"] = table.join(maps["c++_static"], "-static-libstdc++")
maps["stdc++_static"] = table.join(maps["stdc++_static"], "-static-libstdc++")
end
end