diff --git a/srcpkgs/llvm/files/patches/lldb/editline_wchar.patch b/srcpkgs/llvm/files/patches/lldb/editline_wchar.patch new file mode 100644 index 00000000000..497e8b35e23 --- /dev/null +++ b/srcpkgs/llvm/files/patches/lldb/editline_wchar.patch @@ -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 + #else diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index 9280d93d737..06f92aa7ac1 100644 --- a/srcpkgs/llvm/template +++ b/srcpkgs/llvm/template @@ -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.