make: Build with ac_cv_func_pselect=no on arm

Fixes #2983.
This commit is contained in:
Fredrik Fornwall 2018-11-01 03:07:37 +01:00
parent c1f639eae6
commit 0889ff1eee
1 changed files with 9 additions and 1 deletions

View File

@ -1,8 +1,16 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/make/
TERMUX_PKG_DESCRIPTION="Tool to control the generation of non-source files from source files"
TERMUX_PKG_VERSION=4.2.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz
# Prevent linking against libelf:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_elf_elf_begin=no"
termux_step_pre_configure() {
if [ "$TERMUX_ARCH" = arm ]; then
# Fix issue with make on arm hanging at least under cmake:
# https://github.com/termux/termux-packages/issues/2983
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_pselect=no"
fi
}