[compiler-rt] [test] [builtins] Pass the right parameters for linking with -nodefault...
authorMartin Storsjö <martin@martin.st>
Thu, 30 Mar 2023 12:46:56 +0000 (15:46 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 13 Apr 2023 09:11:17 +0000 (12:11 +0300)
commitcafefe01604c12db7f860a29419b5940e0c993ae
tree7e50719c07542198ecfe87abd0b1481308d6bca2
parentebae5622d11655feaa74e64151067897153f9c71
[compiler-rt] [test] [builtins] Pass the right parameters for linking with -nodefaultlibs on mingw targets

The clang-cl/MSVC case is handled above, thus consider win32 && !is_msvc
to be mingw.

This matches the list of libraries passed by e.g. the libcxx build, when
using -nodefaultlibs.

Differential Revision: https://reviews.llvm.org/D147647
compiler-rt/test/builtins/Unit/lit.cfg.py