From 8b6572b37ad45bc9ec814f729329cba9cf599daa Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 5 Mar 2017 01:07:01 +0100 Subject: [PATCH] lftp and sed can now be built with clang --- packages/lftp/build.sh | 2 -- packages/sed/build.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/lftp/build.sh b/packages/lftp/build.sh index ef9b7e28c..f6ac78f0d 100644 --- a/packages/lftp/build.sh +++ b/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" diff --git a/packages/sed/build.sh b/packages/sed/build.sh index 78ca9776c..a93df1245 100644 --- a/packages/sed/build.sh +++ b/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