llvm/compiler-rt/cmake
Dimitry Andric a9f1a9c00a [compiler-rt] Force ABI to libcxxabi when building cxustom libc++
Follow-up to 458ead66dc, which replaced the bespoke CMakeLists.txt
file for building a custom instrumented libc++ with an invocation of the
runtimes build.

In the the bespoke CMakeLists.txt, the LIBCXX_CXX_ABI setting was forced
to libcxxabi, but this was not done for the CMake invocation for the
runtimes build. This would cause CMake configuration issues on platforms
where the default LIBCXX_CXX_ABI setting is not libcxxabi, such as
FreeBSD.

Add `-DLIBCXX_CXX_ABI=libcxxabi` to that invocation, to make sure the
custom instrumented libc++ always uses the expected ABI.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D119554
2022-02-11 22:12:54 +01:00
..
caches
Modules [compiler-rt] Force ABI to libcxxabi when building cxustom libc++ 2022-02-11 22:12:54 +01:00
base-config-ix.cmake [compiler-rt][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-17 03:13:56 +00:00
builtin-config-ix.cmake Revert "[compiler-rt][Darwin] Add arm64 to simulator platforms" 2022-02-03 09:42:49 +00:00
config-ix.cmake [cmake] Partially deduplicate {llvm,compiler_rt}_check_linker_flag for runtime libs and llvm 2022-01-29 06:07:24 +00:00