MaskRay added inline comments.
================ Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:754 + if (OnlyLibstdcxxStatic) + CmdArgs.push_back("-Bstatic"); TC.AddCXXStdlibLibArgs(Args, CmdArgs); ---------------- This is correct. If GNU ld<2.25 compatibility is not needed, `--push-state`, `-Bstatic`, link, `--pop-state` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80488/new/ https://reviews.llvm.org/D80488 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits