lldb: remove non working archs and use dynamic lib

This commit is contained in:
its-pointless 2018-05-09 09:34:58 +10:00 committed by Fredrik Fornwall
parent b997717564
commit baf33705a9

View File

@ -4,16 +4,19 @@ TERMUX_PKG_VERSION=6.0.0
TERMUX_PKG_SHA256=46f54c1d7adcd047d87c0179f7b6fa751614f339f4f87e60abceaa45f414d454
TERMUX_PKG_SRCURL=http://releases.llvm.org/${TERMUX_PKG_VERSION}/lldb-$TERMUX_PKG_VERSION.src.tar.xz
TERMUX_PKG_DEPENDS="libedit, libllvm, libxml2, ncurses-ui-libs"
TERMUX_PKG_REVISION=1
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DLLDB_DISABLE_CURSES=0
-DLLDB_DISABLE_LIBEDIT=0
-DLLDB_DISABLE_PYTHON=1
-DLLVM_CONFIG=$TERMUX_PREFIX/bin/llvm-config
-DLLVM_ENABLE_TERMINFO=1
-DLLVM_LINK_LLVM_DYLIB=ON
"
termux_step_pre_configure() {
LDFLAGS+=" -Wl,--exclude-libs=ALL"
LDFLAGS+=" -Wl,--exclude-libs=libLLVMSupport.a"
}
termux_step_post_make_install() {