libcxxrt is only used on FreeBSD and the FreeBSD CMake cache already
sets LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS to ON, as it should. This
avoids defining LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS redundantly in
a place where it doesn't belong.
Details
Details
- Reviewers
emaste dim ldionne - Group Reviewers
Restricted Project - Commits
- rGfa90e2b988de: [libc++] Don't automatically define LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS with…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Ah I see that I added the part to HandleLibCXXABI.cmake in rG328261019f50a76b11fa625739cbf32ceb2ce2f7, while also adding an initial version of libcxx/cmake/caches/FreeBSD.cmake. If the latter is now automatically used during the build, the HandleLibCXXABI.cmake part is no longer necessary.