mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Use libcxx abi v1
This commit is contained in:
parent
fbc4b03d4c
commit
f25fbbaaeb
3 changed files with 13 additions and 4 deletions
11
third_party/libcxx/__config_site
vendored
11
third_party/libcxx/__config_site
vendored
|
@ -26,8 +26,8 @@ __static_yoink("__demangle");
|
|||
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#define _LIBCPP_NO_ABI_TAG
|
||||
#define _LIBCPP_ABI_VERSION 2
|
||||
#define _LIBCPP_ABI_NAMESPACE __2
|
||||
#define _LIBCPP_ABI_VERSION 1
|
||||
#define _LIBCPP_ABI_NAMESPACE __1
|
||||
#define _LIBCPP_USING_GETENTROPY
|
||||
#define _LIBCPP_DISABLE_AVAILABILITY
|
||||
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
|
||||
|
@ -40,13 +40,16 @@ __static_yoink("__demangle");
|
|||
#define _LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE
|
||||
#define _LIBCPP_HAS_CLOCK_GETTIME
|
||||
|
||||
#define _LIBCPP_HARDENING_MODE_DEFAULT 2
|
||||
|
||||
#ifdef MODE_DBG
|
||||
#define _LIBCPP_ENABLE_DEBUG_MODE
|
||||
#define _LIBCPP_ENABLE_ASSERTIONS_DEFAULT 1
|
||||
#define _LIBCPP_HARDENING_MODE_DEFAULT (1 << 3) // debug
|
||||
#elif defined(TINY)
|
||||
#define _LIBCPP_ENABLE_ASSERTIONS_DEFAULT 0
|
||||
#define _LIBCPP_HARDENING_MODE_DEFAULT (1 << 1) // none
|
||||
#else
|
||||
#define _LIBCPP_ENABLE_ASSERTIONS_DEFAULT 0
|
||||
#define _LIBCPP_HARDENING_MODE_DEFAULT (1 << 2) // fast
|
||||
#endif
|
||||
|
||||
// PSTL backends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue