Upgrade to binutils 2.24:

* Move libtool 2.2.4 before binutils.
* Remove libtool 1.4.
* Switch from binutils 2.14 to 2.24.
This commit is contained in:
Andrius Štikonas 2023-02-23 10:26:50 +08:00
parent 7ce844e89a
commit 3b90aae529
16 changed files with 178 additions and 444 deletions

View file

@ -6,18 +6,19 @@
src_prepare() {
default
rm -f libltdl/config/ltmain.sh
rm -f libltdl/config/ltmain.sh libtool
rm -f doc/*.info
AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 AUTOHEADER=autoheader-2.61 AUTORECONF=autoreconf-2.61 ./bootstrap
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.61 AUTOCONF=autoconf-2.61 AUTOHEADER=autoheader-2.61 AUTORECONF=autoreconf-2.61 ./bootstrap
}
src_configure() {
CC=tcc ./configure \
LD=tcc CC=tcc AR="true" RANLIB=true ./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--disable-shared \
--disable-ltdl-install \
--host=i386-unknown-linux \
--target=i386-unknown-linux \
--build=i386-unknown-linux \

View file

@ -1,6 +1,6 @@
SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: GPL-2.0-or-later
Remove hostname from libtool script.