[libc++] Try to fix Chromium's build
authorLouis Dionne <ldionne@apple.com>
Thu, 2 Apr 2020 17:11:50 +0000 (13:11 -0400)
committerLouis Dionne <ldionne@apple.com>
Thu, 2 Apr 2020 17:15:30 +0000 (13:15 -0400)
commitf5c1d4409e013f805a151bb2089cfa030f7eb892
tree7b1eb492e8381423961f85a69cf617450662154c
parentadd9f1a5dc1963149dac4cb8b25bf2cb825a02c2
[libc++] Try to fix Chromium's build

Chromium's build sets LIBCXX_CXX_ABI_SYSTEM explicitly when building
libc++, which was broken by 61e89737c5da (which stopped listening to
that option). As a workaround, this commit uses the system libc++abi
when LIBCXX_CXX_ABI_SYSTEM is used.

However, we will need to work with Chromium to standardize their build
of libc++, because LIBCXX_CXX_ABI_SYSTEM is not a public facing build
configuration for libc++, and has never been AFAICT.
libcxx/cmake/Modules/HandleLibCXXABI.cmake