From c449ac5dcb11f1fa1369d17d06251aeb53ed5afc Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 11 Apr 2026 16:09:17 +0800 Subject: fix clang with c++_static --- xmake/modules/core/tools/clang.lua | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.3.1