Rebuild libtool.

This commit is contained in:
Andrius Štikonas 2021-03-12 01:36:35 +00:00
parent 4463eedc03
commit 0b85b35da6
4 changed files with 28 additions and 0 deletions

View File

@ -419,6 +419,11 @@ In particular we can now use full featured ``ar`` instead of ``tcc -ar``,
the GNU linker ``ld``, which allows us building shared libraries,
and the GNU assembler ``as``.
libtool 1.4
===========
Rebuild libtool, so that it uses GNU binutils when creating shared libraries.
musl 1.1.24 (v3)
================

View File

@ -0,0 +1,2 @@
23a6e91bff3d5bac9b0317b60bd1c999f94846f62085bf4d227dfa8499120d22 /after/lib/musl/libltdl.a
c247c7c1516ed35414c8b038535969a67ce4bbfd2abdfed85a89941bca09d55d /after/lib/musl/libltdl.la

19
sysa/libtool-1.4/pass2.sh Executable file
View File

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap
}
src_configure() {
CC=tcc ./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--disable-shared \
--host=i386-unknown-linux \
--target=i386-unknown-linux \
--build=i386-unknown-linux
}

View File

@ -89,6 +89,8 @@ build libtool-1.4 pass1.sh checksums/pass1
build binutils-2.14
build libtool-1.4 pass2.sh checksums/pass2
# Build musl with fewer patches
build musl-1.1.24 binutils-rebuild.sh checksums/pass3 patches-pass3
populate_device_nodes