Currently both libc++ and libc++abi provide definitions for operator new/delete. However I believe this is incorrect and that one or the other should offer them.
This patch adds the CMake option -DLIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS which defaults to OFF unless otherwise specified. This means that by default
only libc++ provides the new/delete definitions.
It is unrelated to this change, but I'm wondering about the LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY condition. I see undefined reference to libc symbols.
That said we're linking to libSystem which provided everything, so I'm not even sure why dynamic_lookup is needed at all?