This is an archive of the discontinued LLVM Phabricator instance.

Try to fix the libcxx build with mingw64
ClosedPublic

Authored by rnk on Mar 30 2017, 5:28 PM.

Details

Summary

mingw64 has lots of default libs that libc++ and its test programs
should link against.

With this patch, cmake now runs successfully with GCC on Windows.

Event Timeline

rnk created this revision.Mar 30 2017, 5:28 PM
EricWF accepted this revision.Mar 30 2017, 5:37 PM

LGTM. CMake's behavior here is unfortunate but this seems like a reasonable workaround.

This revision is now accepted and ready to land.Mar 30 2017, 5:37 PM
This revision was automatically updated to reflect the committed changes.