libsoup: Update from 2.61.90 to 2.62.0
[termux-packages] / packages / binutils / build.sh
CommitLineData
f63405a9 1TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/
59f0d218 2TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
387ce9a3 3TERMUX_PKG_VERSION=2.30
722ed12d 4TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
387ce9a3 5TERMUX_PKG_SHA256=8c3850195d1c093d290a716e20ebcaa72eda32abf5e3d8611154b39cff79e9ea
120f5337 6TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror --with-system-zlib"
59f0d218
FF
7TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
8TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/windmc.1 share/man/man1/windres.1 bin/ld.bfd"
9
d104e472
FF
10# Avoid linking against libfl.so from flex if available:
11export LEXLIB=
12
59f0d218
FF
13termux_step_post_make_install () {
14 cp $TERMUX_PKG_BUILDER_DIR/ldd $TERMUX_PREFIX/bin/ldd
f63405a9
FF
15 cd $TERMUX_PREFIX/bin
16
17 # Setup symlinks as these are used when building, so used by
18 # system setup in e.g. python, perl and libtool:
19 for b in ar ld nm objdump ranlib readelf strip; do
20 ln -s -f $b $TERMUX_HOST_PLATFORM-$b
21 done
59f0d218 22}