[clang] [Clang][Driver] Revise Cygwin ToolChain to call linker directly (PR #147960)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 15 01:20:27 PDT 2025


================
@@ -1504,6 +1506,7 @@ void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
   switch (Type) {
   case ToolChain::CST_Libcxx:
     CmdArgs.push_back("-lc++");
+    CmdArgs.push_back("-lc++abi");
----------------
tyan0 wrote:

OK. I've removed that. Instead, I've made cygwin libc++ package be built with libc++abi.

https://github.com/llvm/llvm-project/pull/147960


More information about the cfe-commits mailing list