From 8ed59b40d3e1c4f247ec23c7ec6724b11cc8a3c7 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Fri, 16 Dec 2022 14:20:07 +0100 Subject: [PATCH] Remove transitive includes in libcpp --- 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.