cxx/lib
Eric Fiselier 961269db1b [libcxx] Remove installation rules on Darwin when it would overwrite the system installation.
Summary:
On Mac OS X overwriting `/usr/lib/libc++.dylib` can cause your computer to fail to boot. This patch tries to make it harder to do that accidentally. 

If `CMAKE_SYSTEM_NAME` is `Darwin` and `CMAKE_INSTALL_PREFIX` is `/usr` don't generate installation rules unless the user explicitly provides `LIBCXX_OVERRIDE_DARWIN_INSTALL=ON`. Note that `CMAKE_INSTALL_PREFIX` is always absolute so we don't need to worry about things like `/usr/../usr`.

Reviewers: mclow.lists, beanz, jroelofs

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D12209

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@246070 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-26 20:18:21 +00:00
..
buildit Not everyone uses bash, so fix test syntax. 2014-04-12 21:12:55 +00:00
CMakeLists.txt [libcxx] Remove installation rules on Darwin when it would overwrite the system installation. 2015-08-26 20:18:21 +00:00
libc++abi2.exp At least temporarily move operator new/delete from the abi back to here. I'm having trouble reexporting it as a weak symbol. 2012-02-25 21:36:01 +00:00
libc++abi.exp Add typeinfo for char16_t, char32_t and nullptr. 2010-12-03 17:25:24 +00:00
libc++sjlj-abi.exp on Darwin re-export C++0x type infos 2011-05-24 20:26:04 +00:00
libc++unexp.exp Effort to reduce the number of exported symbols 2010-12-17 14:46:43 +00:00
notweak.exp <rdar://problem/8279559> [libstdcxx] use new linker options to make symbols non-weak 2010-09-10 20:42:36 +00:00
weak.exp Fix <rdar://problem/10136825> 2011-10-04 23:11:56 +00:00