llvm-capstone/libcxxabi/cmake
Ryan Prichard 76b1a7c916
[libc++][Android] Explicitly declare low-level lib existence (#70534)
Android's librt and libpthread functionality is part of libc.{a,so}
instead. The atomic APIs are part of the compiler-rt builtins archive.
Android does have libdl.

Android's libc.so has `__cxa_thread_atexit_impl` starting in API 23, and
the oldest supported API is 21, so continue using feature detection for
that API.

These settings need to be declared explicitly for the sake of the fuzzer
library's custom libc++ build `add_custom_libcxx`. That macro builds
libc++ using `-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY`, which
breaks the feature detection.
2023-11-03 12:54:55 -07:00
..
Modules [runtimes] Remove add_target_flags* functions and use add_flags* instead 2023-02-21 13:16:44 +01:00
config-ix.cmake [libc++][Android] Explicitly declare low-level lib existence (#70534) 2023-11-03 12:54:55 -07:00