summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-11 17:39:56 +0800
committerGitHub <[email protected]>2026-04-11 17:39:56 +0800
commit151d094ca9bc0c7ab6f31561af5e998bacfe35c7 (patch)
treec3518a46c624b279fbd39f418f9f47df57f735cf
parenta971288370be98cccef2b1817b7ab976161f9285 (diff)
parentc449ac5dcb11f1fa1369d17d06251aeb53ed5afc (diff)
Merge pull request #7477 from xmake-io/clang
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