2016-08-08 21:33:47 +02:00
|
|
|
TERMUX_PKG_VERSION=2.27
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/binutils/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
|
2016-01-28 16:48:48 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/windmc.1 share/man/man1/windres.1 bin/ld.bfd"
|
|
|
|
|
2016-01-28 17:17:28 +01:00
|
|
|
# Avoid linking against libfl.so from flex if available:
|
|
|
|
export LEXLIB=
|
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
termux_step_post_make_install () {
|
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/ldd $TERMUX_PREFIX/bin/ldd
|
|
|
|
}
|