lftp and sed can now be built with clang

This commit is contained in:
Fredrik Fornwall 2017-03-05 01:07:01 +01:00
parent 149fa66c8e
commit 8b6572b37a
2 changed files with 0 additions and 4 deletions

View 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"

View 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