Browse Source

lldb i686 fix

emacs-27
its-pointless 6 years ago
committed by Leonid Plyushch
parent
commit
7bcfda600c
  1. 14
      packages/lldb/ArchSpec.cpp.patch
  2. 1
      packages/lldb/build.sh

14
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,

1
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

Loading…
Cancel
Save