diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-01-14 06:06:47 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-01-14 06:06:47 +0000 |
commit | cc1f65ca304824601bf08980bd5dc716203027b8 (patch) | |
tree | 64ed8981ebaf0fc9fba2e5ee208975e0bc110b8e /llvm/docs/CommandGuide | |
parent | 2f116c432dcca78c43f6680d4237bba885a0d004 (diff) | |
download | bcm5719-llvm-cc1f65ca304824601bf08980bd5dc716203027b8.tar.gz bcm5719-llvm-cc1f65ca304824601bf08980bd5dc716203027b8.zip |
[libc++] [CMake] Link with /nodefaultlibs on Windows
Summary:
This patch attempts to fix the libc++ build/link so that it doesn't use an default C++ libraries on Windows. This is needed to prevent linking to MSVC's STL library.
Additionally this patch changes libc++ so that it is always linked with the non-debug DLL's (e.g. `/MD`). This is needed so that the test suite can correctly link the same libraries without needing to know which configuration `c++.dll` was linked with.
Reviewers: compnerd, rnk, majnemer, kimgr, awson, halyavin, smeenai
Subscribers: cfe-commits, mgorny
Differential Revision: https://reviews.llvm.org/D28441
llvm-svn: 292001
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions