Move musl build with shared libraries after autogen.

This commit is contained in:
Andrius Štikonas 2022-10-05 01:33:19 +01:00
parent d1d36a4b8d
commit 3900cf04ca
10 changed files with 31 additions and 27 deletions

View file

@ -44,6 +44,7 @@ src_compile() {
./configure \
--prefix="${FINALPREFIX}" \
--libdir="${FINALPREFIX}/lib/musl" \
--disable-shared \
--enable-timeout=15
touch doc/agdoc.texi # build later
make CFLAGS=-Wno-error

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021-2022 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
@ -11,5 +11,6 @@ src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--disable-shared \
CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR'
}

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021-2022 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
@ -15,5 +15,5 @@ src_prepare() {
}
src_configure() {
LDFLAGS="-static" ./configure --prefix="${PREFIX}"
./configure --prefix="${PREFIX}"
}

View file

@ -15,7 +15,7 @@ src_prepare() {
}
src_configure() {
LDFLAGS="-static" ./configure --prefix="${PREFIX}"
./configure --prefix="${PREFIX}"
}
src_install() {

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
@ -10,5 +10,5 @@ src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--enable-shared
--disable-shared
}

View file

@ -10,9 +10,10 @@ src_prepare() {
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--build=i386-unknown-linux-musl \
--with-gcc-arch=generic \
--enable-pax_emutramp
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--build=i386-unknown-linux-musl \
--disable-shared \
--with-gcc-arch=generic \
--enable-pax_emutramp
}

View file

@ -15,6 +15,7 @@ src_prepare() {
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl"
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--disable-shared
}

View file

@ -84,8 +84,6 @@ build gcc-4.7.4
build binutils-2.38
build musl-1.2.3
build gperf-3.1
build libunistring-0.9.10
@ -106,6 +104,8 @@ build sed-4.8
build autogen-5.18.16 autogen-5.18.16.sh '' gnu-autogen-bootstrapping-autogen-5.18.16-v1.0
build musl-1.2.3
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp

View file

@ -12,7 +12,7 @@ src_prepare() {
}
src_configure() {
LDFLAGS="-static" ./configure --prefix="${PREFIX}"
./configure --prefix="${PREFIX}"
}
src_install() {