]> granicus.if.org Git - clang/commit
Merging r326235:
authorTom Stellard <tstellar@redhat.com>
Wed, 30 May 2018 17:56:03 +0000 (17:56 +0000)
committerTom Stellard <tstellar@redhat.com>
Wed, 30 May 2018 17:56:03 +0000 (17:56 +0000)
commitfb5042e831bcae7868d9379076b50364bb356d28
tree71e58f60fb9321912c05cb21bdc14af6c698a4fd
parent453b5b51e83ddb2f1dc9b3ceca2536e5782911af
Merging r326235:

------------------------------------------------------------------------
r326235 | mstorsjo | 2018-02-27 11:42:19 -0800 (Tue, 27 Feb 2018) | 6 lines

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

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

Differential Revision: https://reviews.llvm.org/D43811
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@333566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/CrossWindows.cpp
lib/Driver/ToolChains/MinGW.cpp
test/Driver/mingw-libgcc.c
test/Driver/windows-cross.c