From cb1a8a6b2813912a29ec28172e4d6ce7cd8d02e7 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 22 Feb 2026 09:17:08 -0500 Subject: [PATCH] fix(elfutils): switch to native compiler for pass1 while keeping fts/argp env wiring --- steps-guix/elfutils-0.194/pass1.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/steps-guix/elfutils-0.194/pass1.sh b/steps-guix/elfutils-0.194/pass1.sh index 327b11a6..38def1f2 100644 --- a/steps-guix/elfutils-0.194/pass1.sh +++ b/steps-guix/elfutils-0.194/pass1.sh @@ -2,7 +2,6 @@ # Build elfutils against kernel-toolchain dependencies. : "${KERNEL_SYSROOT:=/kernel-toolchain}" -: "${KERNEL_TARGET:=x86_64-unknown-linux-musl}" src_prepare() { default @@ -16,8 +15,6 @@ src_prepare() { } src_configure() { - export PATH="${KERNEL_SYSROOT}/bin:${PATH}" - mkdir build cd build @@ -26,15 +23,13 @@ src_configure() { CPPFLAGS="-I${KERNEL_SYSROOT}/include" \ LDFLAGS="-L${KERNEL_SYSROOT}/lib" \ LIBS="-lfts -largp" \ - CC="${KERNEL_TARGET}-gcc" \ - AR="${KERNEL_TARGET}-ar" \ - RANLIB="${KERNEL_TARGET}-ranlib" \ + CC=gcc \ + AR=ar \ + RANLIB=ranlib \ ../configure \ --prefix="${KERNEL_SYSROOT}" \ --libdir="${KERNEL_SYSROOT}/lib" \ --includedir="${KERNEL_SYSROOT}/include" \ - --build="${TARGET}" \ - --host="${KERNEL_TARGET}" \ --disable-debuginfod \ --disable-libdebuginfod }