From 20eb963da17e5f15e4553c00bd5ae7685329b6f5 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 14 Mar 2026 14:21:25 -0400 Subject: [PATCH] fix(guile-bootstrap): force static linking for guile 2.2.4 seed --- steps-guix/guile-2.2.4/pass1.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/steps-guix/guile-2.2.4/pass1.sh b/steps-guix/guile-2.2.4/pass1.sh index e6ec88b2..0e7873a3 100644 --- a/steps-guix/guile-2.2.4/pass1.sh +++ b/steps-guix/guile-2.2.4/pass1.sh @@ -18,6 +18,7 @@ src_configure() { PKG_CONFIG_PATH="${pkg_config_path}" \ LIBFFI_CFLAGS="${libffi_cflags}" \ LIBFFI_LIBS="${libffi_libs}" \ + LDFLAGS="-static" \ ./configure \ --prefix="${SEED_PREFIX}" \ --disable-shared \ @@ -25,13 +26,13 @@ src_configure() { } src_compile() { - default_src_compile + make "${MAKEJOBS}" -f Makefile PREFIX="${PREFIX}" LDFLAGS="-static" } src_install() { local stage stage="${DESTDIR}${SEED_PREFIX}" - make DESTDIR="${DESTDIR}" install + make DESTDIR="${DESTDIR}" LDFLAGS="-static" install seed_make_repro_tar_xz "${stage}" "${DISTFILES}/guile-static-stripped-2.2.4-i686-linux.tar.xz" }