termux-packages/packages/make/build.sh

18 lines
766 B
Bash
Raw Normal View History

2018-05-25 12:38:52 +02:00
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/make/
2017-12-05 22:33:04 +01:00
TERMUX_PKG_DESCRIPTION="Tool to control the generation of non-source files from source files"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
2016-06-12 20:47:55 +02:00
TERMUX_PKG_VERSION=4.2.1
TERMUX_PKG_REVISION=2
2017-02-08 00:12:36 +01:00
TERMUX_PKG_SHA256=e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/make/make-${TERMUX_PKG_VERSION}.tar.gz
2016-05-09 02:04:16 +02:00
# Prevent linking against libelf:
2016-05-09 01:01:51 +02:00
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
}