mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 12:55:23 +01:00
Rebuild musl 1.2.3 with support for dynamic linking
Now that GCC and binutils support musl's toolchain natively, musl can have its dynamic linking support enabled without ill-effects.
This commit is contained in:
parent
238520fee7
commit
9bde9d1afe
8 changed files with 50 additions and 4 deletions
|
|
@ -37,6 +37,7 @@ eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7 libunistring-0
|
|||
e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7 make-4.2.1.tar.gz
|
||||
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz
|
||||
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
|
||||
7d5b0b6062521e4627e099e4c9dc8248d32a30285e959b7eecaa780cf8cfd4a4 musl-1.2.3.tar.gz
|
||||
f455f341e787c1167328e80a84f77b9a557d595066dda6486a1874d72da68800 nss-3.78.tar.gz
|
||||
0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1 openssl-1.1.1l.tar.gz
|
||||
ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd patch-2.7.6.tar.xz
|
||||
|
|
|
|||
1
sysc/musl-1.2.3/ld-musl-i386.path
Normal file
1
sysc/musl-1.2.3/ld-musl-i386.path
Normal file
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/musl
|
||||
32
sysc/musl-1.2.3/musl-1.2.3.sh
Executable file
32
sysc/musl-1.2.3/musl-1.2.3.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
# SPDX-FileCopyrightText: 2022 Dor Askayo <dor.askayo@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
urls="https://musl.libc.org/releases/musl-1.2.3.tar.gz"
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--host=i386-unknown-linux-musl \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--includedir="${PREFIX}/include/"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make CROSS_COMPILE=
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Make dynamic linker symlink relative in ${PREFIX}/lib
|
||||
rm "${DESTDIR}/lib/ld-musl-i386.so.1"
|
||||
rmdir "${DESTDIR}/lib"
|
||||
mkdir -p "${DESTDIR}${PREFIX}/lib"
|
||||
ln -sr "${DESTDIR}${PREFIX}/lib/musl/libc.so" "${DESTDIR}${PREFIX}/lib/ld-musl-i386.so.1"
|
||||
|
||||
# Add library search path configurtion
|
||||
mkdir -p "${DESTDIR}/etc"
|
||||
cp ../../ld-musl-i386.path "${DESTDIR}/etc"
|
||||
}
|
||||
|
|
@ -84,6 +84,8 @@ build gcc-4.7.4
|
|||
|
||||
build binutils-2.38
|
||||
|
||||
build musl-1.2.3
|
||||
|
||||
build gperf-3.1
|
||||
|
||||
build libunistring-0.9.10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue