[PATCH] D43811: [MinGW, CrossWindows] Allow passing -static together with -shared

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 01:27:07 PST 2018


mstorsjo created this revision.
mstorsjo added reviewers: compnerd, smeenai, rnk.

In these combinations, link a DLL as usual, but pass -Bstatic instead of -Bdynamic to indicate prefering static libraries.


Repository:
  rC Clang

https://reviews.llvm.org/D43811

Files:
  lib/Driver/ToolChains/CrossWindows.cpp
  lib/Driver/ToolChains/MinGW.cpp
  test/Driver/mingw-libgcc.c
  test/Driver/windows-cross.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43811.136046.patch
Type: text/x-patch
Size: 6534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180227/b412f83e/attachment.bin>


More information about the cfe-commits mailing list