forked from OSchip/llvm-project
[libc++] Make sure we don't attempt to run check-cxx-abilist when libc++ doesn't define new/delete
That would make the test fail spuriously because we don't generate an ABI list for that configuration.
This commit is contained in:
parent
2d761a368c
commit
490b556a0f
|
@ -22,7 +22,8 @@ if (EXISTS "${ABILIST_FILE}"
|
|||
AND ("${LIBCXX_CXX_ABI_LIBNAME}" STREQUAL "libcxxabi" OR
|
||||
(APPLE AND "${LIBCXX_CXX_ABI_LIBNAME}" STREQUAL "default"))
|
||||
AND NOT LIBCXX_ABI_UNSTABLE
|
||||
AND LIBCXX_ENABLE_EXCEPTIONS)
|
||||
AND LIBCXX_ENABLE_EXCEPTIONS
|
||||
AND LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS)
|
||||
add_custom_target(check-cxx-abilist
|
||||
${SYMDIFF_EXE} --only-stdlib-symbols --strict ${ABILIST_FILE}
|
||||
$<TARGET_SONAME_FILE:cxx_shared>
|
||||
|
|
Loading…
Reference in New Issue