From 6022208c412b4a5cbda161dad4110c15cbb110ef Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 21 Feb 2026 12:43:14 -0500 Subject: [PATCH] steps-guix: build argp-standalone natively into /kernel-toolchain --- steps-guix/argp-standalone-1.4.1/pass1.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/steps-guix/argp-standalone-1.4.1/pass1.sh b/steps-guix/argp-standalone-1.4.1/pass1.sh index bb37c548..172ce599 100644 --- a/steps-guix/argp-standalone-1.4.1/pass1.sh +++ b/steps-guix/argp-standalone-1.4.1/pass1.sh @@ -2,7 +2,6 @@ # Build argp-standalone for the kernel toolchain sysroot. This is used by # later kernel-side dependencies (for example elfutils). -: "${KERNEL_TARGET:=x86_64-unknown-linux-musl}" : "${KERNEL_SYSROOT:=/kernel-toolchain}" src_prepare() { @@ -11,17 +10,15 @@ src_prepare() { } src_configure() { - export PATH="${KERNEL_SYSROOT}/bin:${PATH}" - mkdir build cd build + CC=gcc \ + AR=ar \ + RANLIB=ranlib \ ../configure \ --prefix="${KERNEL_SYSROOT}" \ - --libdir="${KERNEL_SYSROOT}/lib" \ - --build="${TARGET}" \ - --host="${KERNEL_TARGET}" \ - --target="${KERNEL_TARGET}" + --libdir="${KERNEL_SYSROOT}/lib" } src_compile() {