lftp and sed can now be built with clang
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 5 Mar 2017 00:07:01 +0000 (01:07 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 5 Mar 2017 00:07:01 +0000 (01:07 +0100)
packages/lftp/build.sh
packages/sed/build.sh

index ef9b7e2..f6ac78f 100644 (file)
@@ -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"
index 78ca977..a93df12 100644 (file)
@@ -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