Merge pull request #4489 from its-pointless/lldbfix

fix lldb for later android versions
This commit is contained in:
Leonid Pliushch 2019-11-09 12:26:44 +02:00 committed by GitHub
commit e4f9eb7467
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- source/Host/posix/ProcessLauncherPosixFork.cpp.orig 2019-11-03 00:42:25.977205716 +0000
+++ ./source/Host/posix/ProcessLauncherPosixFork.cpp 2019-11-03 00:43:11.313499292 +0000
@@ -136,8 +136,8 @@
if (info.GetFlags().Test(eLaunchFlagDebug)) {
// Do not inherit setgid powers.
- if (setgid(getgid()) != 0)
- ExitWithError(error_fd, "setgid");
+ // if (setgid(getgid()) != 0)
+ // ExitWithError(error_fd, "setgid");
// HACK:
// Close everything besides stdin, stdout, and stderr that has no file

View File

@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="NCSA"
TERMUX_PKG_VERSION=9.0.0
TERMUX_PKG_SRCURL=https://releases.llvm.org/$TERMUX_PKG_VERSION/lldb-$TERMUX_PKG_VERSION.src.tar.xz
TERMUX_PKG_SHA256=1e4c2f6a1f153f4b8afa2470d2e99dab493034c1ba8b7ffbbd7600de016d0794
TERMUX_PKG_REVISION=1
TERMUX_PKG_DEPENDS="libc++, libedit, libllvm, libxml2, ncurses-ui-libs"
TERMUX_PKG_BUILD_DEPENDS="libllvm-static"
TERMUX_PKG_BREAKS="lldb-dev, lldb-static"