]> granicus.if.org Git - clang/commit
[Driver] MinGW: Remove custom linker detection
authorMartell Malone <martellmalone@gmail.com>
Sat, 4 Nov 2017 02:07:59 +0000 (02:07 +0000)
committerMartell Malone <martellmalone@gmail.com>
Sat, 4 Nov 2017 02:07:59 +0000 (02:07 +0000)
commitd3b9436f94314d1aa6ef75af9d9160d0beca0c88
tree420d6dcbde865cbb7e06bc733779d115fcc20415
parenta1ccce852a6764d4ee9fee0a9fa57c65a3291a5f
[Driver] MinGW: Remove custom linker detection

This is a re-apply of rL313082 which was reverted in rL313088

In rL289668 the ability to specify the default linker at compile time
was added but because the MinGW driver used custom detection we could
not take advantage of this new CMAKE flag CLANG_DEFAULT_LINKER.

rL289668 added no test cases and the mingw driver was either overlooked
or purposefully skipped because it has some custom linker tests
Removing them here because they are covered by the generic case.

Reviewers: rnk

Differntial Revision: https://reviews.llvm.org/D37727

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/MinGW.cpp
test/Driver/mingw-useld.c [deleted file]