[PATCH] D11237: Add support for -rtlib option and -stdlib option to the mingw driver

Reid Kleckner rnk at google.com
Mon Jul 20 09:11:39 PDT 2015


rnk added inline comments.

================
Comment at: tools/clang/lib/Driver/Tools.cpp:9087
@@ -9075,3 +9086,3 @@
 
-      AddLibGCC(Args, CmdArgs);
+      AddRuntime(TC, Args, CmdArgs);
 
----------------
You still don't need this, see the static helper `AddRunTimeLibs()` in Tools.cpp. It already has all this logic, and shares it across tools. We should make the mingw linker tool use it, just like the gnutools linker does.


http://reviews.llvm.org/D11237







More information about the cfe-commits mailing list