Browse Source

Avoid enabling gnulib fcntl wrapper

This lessens bloat and fixes 64-bit compiles (the gnulib fcntl
wrapper uses getdtablesize() which does not exist for 64-bit).
android-5
Fredrik Fornwall 9 years ago
parent
commit
d6fcd836c6
  1. 3
      build-package.sh

3
build-package.sh

@ -354,7 +354,8 @@ termux_step_configure () {
local AVOID_AUTOCONF_WRAPPERS="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
# Similarly, disable gnulib's rpl_getcwd(). It returns the wrong value, affecting zile. See
# <https://github.com/termux/termux-packages/issues/76>.
local AVOID_AUTOCONF_WRAPPERS="gl_cv_func_getcwd_null=yes gl_cv_func_getcwd_posix_signature=yes gl_cv_func_getcwd_path_max=yes gl_cv_func_getcwd_abort_bug=no $AVOID_AUTOCONF_WRAPPERS"
AVOID_AUTOCONF_WRAPPERS+=" gl_cv_func_getcwd_null=yes gl_cv_func_getcwd_posix_signature=yes gl_cv_func_getcwd_path_max=yes gl_cv_func_getcwd_abort_bug=no"
AVOID_AUTOCONF_WRAPPERS+=" gl_cv_header_working_fcntl_h=yes gl_cv_func_fcntl_f_dupfd_cloexec=yes gl_cv_func_fcntl_f_dupfd_works=yes"
env $AVOID_AUTOCONF_WRAPPERS $TERMUX_PKG_SRCDIR/configure \
--disable-dependency-tracking \

Loading…
Cancel
Save