llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Zhongteng Gui (dragon-archer)

<details>
<summary>Changes</summary>

libmingwthrd has been empty and deprecated for a long time.

See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127135

---
Full diff: https://github.com/llvm/llvm-project/pull/219936.diff


1 Files Affected:

- (modified) clang/lib/Driver/ToolChains/MinGW.cpp (-2) 


``````````diff
diff --git a/clang/lib/Driver/ToolChains/MinGW.cpp 
b/clang/lib/Driver/ToolChains/MinGW.cpp
index 65120931d8181..1c00f35e1d750 100644
--- a/clang/lib/Driver/ToolChains/MinGW.cpp
+++ b/clang/lib/Driver/ToolChains/MinGW.cpp
@@ -61,8 +61,6 @@ void tools::MinGW::Assembler::ConstructJob(Compilation &C, 
const JobAction &JA,
 void tools::MinGW::Linker::AddLibGCC(const ArgList &Args,
                                      ArgStringList &CmdArgs) const {
   bool NoLibc = Args.hasArg(options::OPT_nolibc);
-  if (Args.hasArg(options::OPT_mthreads))
-    CmdArgs.push_back("-lmingwthrd");
   if (!NoLibc)
     CmdArgs.push_back("-lmingw32");
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/219936
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to