Without that fix we have:
host C++: llvm-tblgen <= external/llvm/utils/TableGen/AsmWriterInst.cpp
In file included from
external/llvm/utils/TableGen/AsmMatcherEmitter.cpp:117:
In file included from external/libcxx/include/sstream:174:
In file included from external/libcxx/include/ostream:138:
In file included from external/libcxx/include/ios:216:
external/libcxx/include/__locale:39:11: fatal error: 'xlocale.h' file not
found
# include <xlocale.h>
^
Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
include/__locale | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/__locale b/include/__locale
index 625d0f85e..6fcae87b4 100644
--- a/include/__locale
+++ b/include/__locale
@@ -36,7 +36,7 @@
# include <support/newlib/xlocale.h>
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) \
|| defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
-# include <xlocale.h>
+# include <locale.h>
#endif // __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__
|| __IBMCPP__
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
--
2.33.0
_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant