From 7bcfda600c0cc732b758669cda09c9ee80482701 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Sun, 31 Mar 2019 15:14:40 +1100 Subject: [PATCH] lldb i686 fix --- packages/lldb/ArchSpec.cpp.patch | 14 ++++++++++++++ packages/lldb/build.sh | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 packages/lldb/ArchSpec.cpp.patch diff --git a/packages/lldb/ArchSpec.cpp.patch b/packages/lldb/ArchSpec.cpp.patch new file mode 100644 index 000000000..573e44c36 --- /dev/null +++ b/packages/lldb/ArchSpec.cpp.patch @@ -0,0 +1,14 @@ +--- source/Utility/ArchSpec.cpp.orig 2019-03-29 01:49:35.969953714 +0000 ++++ ./source/Utility/ArchSpec.cpp 2019-03-29 01:49:39.102006003 +0000 +@@ -197,7 +197,11 @@ + "i486"}, + {eByteOrderLittle, 4, 1, 15, llvm::Triple::x86, + ArchSpec::eCore_x86_32_i486sx, "i486sx"}, ++#ifndef __ANDROID__ + {eByteOrderLittle, 4, 1, 15, llvm::Triple::x86, ArchSpec::eCore_x86_32_i686, ++#else ++ {eByteOrderLittle, 4, 1, 15, llvm::Triple::x86, ArchSpec::eCore_x86_32_i386, ++#endif + "i686"}, + + {eByteOrderLittle, 8, 1, 15, llvm::Triple::x86_64, diff --git a/packages/lldb/build.sh b/packages/lldb/build.sh index e1407629c..a97097d70 100644 --- a/packages/lldb/build.sh +++ b/packages/lldb/build.sh @@ -5,7 +5,6 @@ TERMUX_PKG_VERSION=8.0.0 TERMUX_PKG_SHA256=49918b9f09816554a20ac44c5f85a32dc0a7a00759b3259e78064d674eac0373 TERMUX_PKG_SRCURL=https://releases.llvm.org/${TERMUX_PKG_VERSION}/lldb-$TERMUX_PKG_VERSION.src.tar.xz TERMUX_PKG_DEPENDS="libedit, libllvm, libxml2, ncurses-ui-libs" -TERMUX_PKG_BLACKLISTED_ARCHES="i686" TERMUX_PKG_HAS_DEBUG=no TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DLLDB_DISABLE_CURSES=0