mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 12:06:31 +01:00
fix(steps-guix): add libffi build before guile-2.2.4 and wire explicit libffi pkg-config flags
This commit is contained in:
parent
4f0f50366b
commit
81604307d9
4 changed files with 32 additions and 0 deletions
|
|
@ -7,6 +7,17 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
local pkg_config_path libffi_cflags libffi_libs
|
||||||
|
pkg_config_path="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig"
|
||||||
|
libffi_cflags="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
pkg-config --cflags libffi)"
|
||||||
|
libffi_libs="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
pkg-config --static --libs libffi)"
|
||||||
|
|
||||||
|
PKG_CONFIG_LIBDIR="${pkg_config_path}" \
|
||||||
|
PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
LIBFFI_CFLAGS="${libffi_cflags}" \
|
||||||
|
LIBFFI_LIBS="${libffi_libs}" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${SEED_PREFIX}" \
|
--prefix="${SEED_PREFIX}" \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
|
|
|
||||||
19
steps-guix/libffi-3.5.2/pass1.sh
Executable file
19
steps-guix/libffi-3.5.2/pass1.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm doc/libffi.{pdf,info}
|
||||||
|
|
||||||
|
autoreconf-2.71 -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure \
|
||||||
|
--prefix="${PREFIX}" \
|
||||||
|
--libdir="${LIBDIR}" \
|
||||||
|
--build="${TARGET}" \
|
||||||
|
--disable-shared \
|
||||||
|
--with-gcc-arch=generic \
|
||||||
|
--enable-pax_emutramp
|
||||||
|
}
|
||||||
1
steps-guix/libffi-3.5.2/sources
Normal file
1
steps-guix/libffi-3.5.2/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://github.com/libffi/libffi/releases/download/v3.5.2/libffi-3.5.2.tar.gz f3a3082a23b37c293a4fcd1053147b371f2ff91fa7ea1b2a52e335676bac82dc
|
||||||
|
|
@ -55,6 +55,7 @@ build: patch-2.7.6
|
||||||
build: bash-5.3-1
|
build: bash-5.3-1
|
||||||
build: static-binaries-0-i686-linux
|
build: static-binaries-0-i686-linux
|
||||||
# Build guile-static-stripped-2.2.4-i686-linux.tar.xz
|
# Build guile-static-stripped-2.2.4-i686-linux.tar.xz
|
||||||
|
build: libffi-3.5.2
|
||||||
build: guile-2.2.4
|
build: guile-2.2.4
|
||||||
# Build mes-minimal-stripped-0.19-i686-linux.tar.xz
|
# Build mes-minimal-stripped-0.19-i686-linux.tar.xz
|
||||||
build: mes-minimal-stripped-0.19-i686-linux
|
build: mes-minimal-stripped-0.19-i686-linux
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue