From 0a922a219df9117e9b6b8ffba7b2e9c389621740 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 21 Feb 2026 14:56:09 -0500 Subject: [PATCH] steps-guix/argp-standalone: fix out-of-tree build include path for testsuite argp-standalone pass1 builds in a separate build directory. Its testsuite compiles sources that include , but without an explicit include path the header in the source root is not found and build fails. Set: - CPPFLAGS=-I/Users/luoyanpan/CLionProjects/guix/live-bootstrap/.. in src_configure so testsuite objects can resolve argp.h during the normal phase. --- steps-guix/argp-standalone-1.4.1/pass1.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/steps-guix/argp-standalone-1.4.1/pass1.sh b/steps-guix/argp-standalone-1.4.1/pass1.sh index 172ce599..81fc424a 100644 --- a/steps-guix/argp-standalone-1.4.1/pass1.sh +++ b/steps-guix/argp-standalone-1.4.1/pass1.sh @@ -13,6 +13,9 @@ src_configure() { mkdir build cd build + # argp-standalone's testsuite expects argp.h from source root even when + # building out-of-tree. + CPPFLAGS="-I${PWD}/.." \ CC=gcc \ AR=ar \ RANLIB=ranlib \