From bcd3be0c9753b0a4c342f7aad95e06750c62a523 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:04:49 -0500 Subject: [PATCH] fix(elfutils): avoid configure runtime probe failure by dropping global LIBS and setting host/build + kernel-toolchain env --- steps-guix/elfutils-0.194/pass1.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/steps-guix/elfutils-0.194/pass1.sh b/steps-guix/elfutils-0.194/pass1.sh index 38def1f2..964c4649 100644 --- a/steps-guix/elfutils-0.194/pass1.sh +++ b/steps-guix/elfutils-0.194/pass1.sh @@ -22,7 +22,7 @@ src_configure() { PKG_CONFIG_LIBDIR="${KERNEL_SYSROOT}/lib/pkgconfig:${KERNEL_SYSROOT}/share/pkgconfig" \ CPPFLAGS="-I${KERNEL_SYSROOT}/include" \ LDFLAGS="-L${KERNEL_SYSROOT}/lib" \ - LIBS="-lfts -largp" \ + LD_LIBRARY_PATH="${KERNEL_SYSROOT}/lib" \ CC=gcc \ AR=ar \ RANLIB=ranlib \ @@ -30,6 +30,8 @@ src_configure() { --prefix="${KERNEL_SYSROOT}" \ --libdir="${KERNEL_SYSROOT}/lib" \ --includedir="${KERNEL_SYSROOT}/include" \ + --build="${TARGET}" \ + --host="${TARGET}" \ --disable-debuginfod \ --disable-libdebuginfod }