From 5c242b0475301f70a26d7cdec641bdaf05c1af32 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 28 Feb 2026 16:10:58 -0500 Subject: [PATCH] fix(guile-avahi): force AVAHI_GUILE_CROSS_COMPILING during build/install to avoid GUILEC segfaults --- steps-guix/avahi-0.8/pass1.sh | 1 + steps-guix/guile-avahi-0.4.1/pass1.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/steps-guix/avahi-0.8/pass1.sh b/steps-guix/avahi-0.8/pass1.sh index 6e8a1dde..6ff91c9b 100644 --- a/steps-guix/avahi-0.8/pass1.sh +++ b/steps-guix/avahi-0.8/pass1.sh @@ -17,6 +17,7 @@ src_configure() { --host="${host_triplet}" \ --build="${host_triplet}" \ --with-distro=lfs \ + --disable-stack-protector \ --enable-dbm \ --enable-static \ --enable-shared \ diff --git a/steps-guix/guile-avahi-0.4.1/pass1.sh b/steps-guix/guile-avahi-0.4.1/pass1.sh index a2e0976e..46dfded3 100755 --- a/steps-guix/guile-avahi-0.4.1/pass1.sh +++ b/steps-guix/guile-avahi-0.4.1/pass1.sh @@ -21,9 +21,11 @@ src_configure() { } src_compile() { - default_src_compile + make "${MAKEJOBS}" -f Makefile PREFIX="${PREFIX}" \ + CROSS_COMPILING_VARIABLE="AVAHI_GUILE_CROSS_COMPILING=yes" } src_install() { - default_src_install + make -f Makefile install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" \ + CROSS_COMPILING_VARIABLE="AVAHI_GUILE_CROSS_COMPILING=yes" }