From c914b6f2a8e0f9f6f513d2e32d670507a20716c7 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Mon, 2 Jan 2023 18:29:51 +0100 Subject: [PATCH] Remove transitive includes in libcpp (#660) --- build/secondary/third_party/libcxx/config/__config_site | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/secondary/third_party/libcxx/config/__config_site b/build/secondary/third_party/libcxx/config/__config_site index c8780d1571..106c24fc36 100644 --- a/build/secondary/third_party/libcxx/config/__config_site +++ b/build/secondary/third_party/libcxx/config/__config_site @@ -27,6 +27,8 @@ /* #undef _LIBCPP_HAS_NO_RANDOM_DEVICE */ /* #undef _LIBCPP_HAS_NO_LOCALIZATION */ +#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES + // This is a workaround for BoringSSL, which is compiled in C11 mode // and includes stdatomic.h. Defining this macro will cause stdatomic.h // to redirect to the next version of that header in the include path.