lldb: force LLDB_EDITLINE_USE_WCHAR.
Explicitly not revbumped to avoid rebuild. Fixes #6073.
This commit is contained in:
parent
ecbb28d1eb
commit
25b0fabfa1
11
srcpkgs/llvm/files/patches/lldb/editline_wchar.patch
Normal file
11
srcpkgs/llvm/files/patches/lldb/editline_wchar.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lldb/include/lldb/Host/Editline.h.orig
|
||||
+++ lldb/include/lldb/Host/Editline.h
|
||||
@@ -43,7 +43,7 @@
|
||||
// will only be
|
||||
// used in cases where this is true. This is a compile time dependecy, for now
|
||||
// selected per target Platform
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
|
||||
#define LLDB_EDITLINE_USE_WCHAR 1
|
||||
#include <codecvt>
|
||||
#else
|
|
@ -124,10 +124,6 @@ pre_configure() {
|
|||
esac
|
||||
configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
|
||||
configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) configure_args+=" -DLLDB_DISABLE_LIBEDIT=ON";;
|
||||
esac
|
||||
}
|
||||
post_configure() {
|
||||
# Don't leak CFLAGS into llvm-config.
|
||||
|
|
Loading…
Reference in New Issue
Block a user