summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-08-26 20:18:21 +0000
committerEric Fiselier <eric@efcs.ca>2015-08-26 20:18:21 +0000
commitd77135f8285d66d0f76974511c86fa0f9a8c0713 (patch)
treea936eff1c1ba8438899f9a394e9b3e1f0ac2af01 /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent4b30e569be72f6dfcdf811c12eb34e2d4e4d4ce5 (diff)
downloadbcm5719-llvm-d77135f8285d66d0f76974511c86fa0f9a8c0713.tar.gz
bcm5719-llvm-d77135f8285d66d0f76974511c86fa0f9a8c0713.zip
[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 llvm-svn: 246070
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud