about summary refs log tree commit diff homepage
path: root/scripts/build/patches/libcxx40.patch
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/patches/libcxx40.patch')
-rw-r--r--scripts/build/patches/libcxx40.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/patches/libcxx40.patch b/scripts/build/patches/libcxx40.patch
new file mode 100644
index 00000000..382db544
--- /dev/null
+++ b/scripts/build/patches/libcxx40.patch
@@ -0,0 +1,11 @@
+--- a/libcxx/include/__locale
++++ b/libcxx/include/__locale
+@@ -34,7 +34,7 @@
+ # include <support/solaris/xlocale.h>
+ #elif defined(_NEWLIB_VERSION)
+ # include <support/newlib/xlocale.h>
+-#elif (defined(__GLIBC__) || defined(__APPLE__)      || defined(__FreeBSD__) \
++#elif (defined(__APPLE__)      || defined(__FreeBSD__) \
+     || defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
+ # include <xlocale.h>
+ #elif defined(_LIBCPP_HAS_MUSL_LIBC)