This commit is contained in:
Googulator 2025-08-25 14:59:05 +02:00 committed by GitHub
commit 2076be03aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 15 additions and 13 deletions

View file

@ -20,7 +20,7 @@ src_prepare() {
}
src_configure() {
LDFLAGS="-static" ./configure \
./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--build="${TARGET}" \

View file

@ -173,7 +173,6 @@ src_configure() {
# For this GCC, we only build one stage, as extra is superfluous,
# since we build GCC 12 straight after.
CFLAGS="-std=gnu11" \
LDFLAGS="-static" \
../configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
@ -181,7 +180,6 @@ src_configure() {
--target="${TARGET}" \
--host="${TARGET}" \
--disable-bootstrap \
--enable-static \
--program-transform-name= \
--enable-languages=c,c++ \
--with-system-zlib \

View file

@ -204,7 +204,6 @@ src_configure() {
mkdir build
cd build
LDFLAGS="-static" \
../configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
@ -212,7 +211,6 @@ src_configure() {
--target="${TARGET}" \
--host="${TARGET}" \
--enable-bootstrap \
--enable-static \
--disable-plugins \
--disable-libssp \
--disable-libsanitizer \
@ -224,5 +222,5 @@ src_configure() {
}
src_compile() {
make "${MAKEJOBS}" BOOT_LDFLAGS="-static"
make "${MAKEJOBS}"
}

View file

@ -185,6 +185,7 @@ src_configure() {
--target="${TARGET}" \
--host="${TARGET}" \
--disable-shared \
--disable-plugin \
--program-transform-name= \
--enable-languages=c,c++ \
--disable-sjlj-exceptions \

View file

@ -56,7 +56,7 @@ src_configure() {
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--build="${TARGET}" \
--disable-shared \
--enable-shared \
--disable-jit
popd
done

View file

@ -143,6 +143,8 @@ build: bash-5.2.15
improve: open_console ( CONSOLES == True )
build: xz-5.6.4
build: file-5.44
# TODO this shouldn't be needed, but we somehow have a regular file as /dev/null without this, which breaks libtool configure
improve: populate_device_nodes
build: libtool-2.4.7
build: tar-1.34
build: coreutils-9.4

View file

@ -1 +1 @@
pass1.sh
pass3.sh

View file

@ -9,7 +9,9 @@ src_configure() {
--host="${TARGET}" \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--includedir="${PREFIX}/include/"
--includedir="${PREFIX}/include/" \
--enable-static \
--enable-shared
}
src_compile() {
@ -23,12 +25,13 @@ src_install() {
rm "${DESTDIR}/lib/ld-musl-i386.so.1"
rmdir "${DESTDIR}/lib"
mkdir -p "${DESTDIR}${PREFIX}/lib"
ln -sr "${DESTDIR}${LIBDIR}/libc.so" "${DESTDIR}${PREFIX}/lib/ld-musl-i386.so.1"
ln -s "${TARGET}/libc.so" "${DESTDIR}${PREFIX}/lib/ld-musl-i386.so.1"
ln -s "${TARGET}/libc.so" "${DESTDIR}${PREFIX}/lib/ld-linux.so.2"
# Make startup objects available in /usr/lib
# Expected by GCC 10+
for i in crt1.o crti.o crtn.o Scrt1.o rcrt1.o; do
ln -sr "${DESTDIR}${LIBDIR}/${i}" "${DESTDIR}${PREFIX}/lib/${i}"
ln -s "${TARGET}/${i}" "${DESTDIR}${PREFIX}/lib/${i}"
done
# Add symlink for ldd

View file

@ -16,7 +16,7 @@ src_prepare() {
src_configure() {
./config --prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
no-shared linux-generic32
linux-generic32
}
src_compile() {

2
steps/zlib-1.2.13/pass1.sh Executable file → Normal file
View file

@ -3,5 +3,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_configure() {
./configure --prefix="${PREFIX}" --libdir="${LIBDIR}" --static
./configure --prefix="${PREFIX}" --libdir="${LIBDIR}"
}