forked from OSchip/llvm-project
[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
This commit is contained in:
parent
baac665adf
commit
a9f1a9c00a
|
@ -638,6 +638,7 @@ macro(add_custom_libcxx name prefix)
|
|||
-DLIBCXXABI_ENABLE_SHARED=OFF
|
||||
-DLIBCXXABI_HERMETIC_STATIC_LIBRARY=ON
|
||||
-DLIBCXXABI_INCLUDE_TESTS=OFF
|
||||
-DLIBCXX_CXX_ABI=libcxxabi
|
||||
-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
|
||||
-DLIBCXX_ENABLE_SHARED=OFF
|
||||
-DLIBCXX_HERMETIC_STATIC_LIBRARY=ON
|
||||
|
|
Loading…
Reference in New Issue