Make linker errors verbose on Windows

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-04-20 01:50:39 +00:00
parent 47c3219d73
commit b105246262

View File

@@ -478,6 +478,8 @@ class Configuration(object):
self.cxx.flags += ['-m32']
# Use verbose output for better errors
self.cxx.flags += ['-v']
if self.is_windows:
self.cxx.link_flags += ['-Wl,-v']
sysroot = self.get_lit_conf('sysroot')
if sysroot:
self.cxx.flags += ['--sysroot', sysroot]