libmpfr: Work around clang issue

This commit is contained in:
Fredrik Fornwall 2018-08-20 15:04:40 +02:00
parent 7dcb3a737d
commit e6974e6f38

View File

@ -5,7 +5,10 @@ TERMUX_PKG_VERSION=4.0.1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/mpfr/mpfr-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/mpfr/mpfr-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e TERMUX_PKG_SHA256=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_locale_h=no" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_locale_h=no"
if [ "$TERMUX_ARCH" = i686 ]; then
# Avoid clang bug with NDK r16: termux_step_pre_configure() {
TERMUX_PKG_CLANG=no if [ "$TERMUX_ARCH" = i686 ]; then
fi # Fix clang internal error (on clang in ndk r17):
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-float128"
fi
}