aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalyavin <halyavin@yandex-team.com>2022-07-23 09:33:13 +0300
committerhalyavin <halyavin@yandex-team.com>2022-07-23 09:33:13 +0300
commitd864f930afc0d64d0c73faf91357b9856ca5b611 (patch)
tree6879b2dfc2e7e2b33b45ecee0abba6cad4324abb
parent3089dda9cafa5483aab1ba97752eb78a939500c0 (diff)
downloadydb-d864f930afc0d64d0c73faf91357b9856ca5b611.tar.gz
Enable libc++ option that removes legacy transitive includes.
The upstream returned back a lot of transitive includes due to a lot of breaks. This option disables them so that we can deal with breaks due to transitive includes early.
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__wrappers_config1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__wrappers_config b/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
index 33e8c986ed..d085598195 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
+++ b/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
@@ -36,6 +36,7 @@
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
#define _LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
+#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
#ifdef _musl_
# define _LIBCPP_HAS_MUSL_LIBC