Browse Source

lftp and sed can now be built with clang

android-5
Fredrik Fornwall 8 years ago
parent
commit
8b6572b37a
  1. 2
      packages/lftp/build.sh
  2. 2
      packages/sed/build.sh

2
packages/lftp/build.sh

@ -8,8 +8,6 @@ TERMUX_PKG_SHA256=6e26254fdc7e1b92ceb31116a2c7bdcd891a07c72a7823144aaaf147a1841b
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_dn_expand=no --with-openssl --with-expat=$TERMUX_PREFIX"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-readline=$TERMUX_PREFIX"
TERMUX_PKG_DEPENDS="libexpat, openssl, readline, libutil, libidn"
# "xmalloc.c:(.text+0x26c): undefined reference to `__muloti4'":
TERMUX_PKG_CLANG=no
termux_step_pre_configure () {
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-zlib=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr"

2
packages/sed/build.sh

@ -4,8 +4,6 @@ TERMUX_PKG_VERSION=4.4
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=cbd6ebc5aaf080ed60d0162d7f6aeae58211a1ee9ba9bb25623daa6cd942683b
TERMUX_PKG_BUILD_IN_SRC=yes
# XXX: A build with clang causes undefined references to __muloti4:
TERMUX_PKG_CLANG=no
termux_step_post_configure () {
$TERMUX_TOUCH -d "next hour" $TERMUX_PKG_SRCDIR/doc/sed.1

Loading…
Cancel
Save