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 <argp.h>, 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.
This commit is contained in:
vxtls 2026-02-21 14:56:09 -05:00
parent 548f45ec1d
commit 0a922a219d

View file

@ -13,6 +13,9 @@ src_configure() {
mkdir build mkdir build
cd build cd build
# argp-standalone's testsuite expects argp.h from source root even when
# building out-of-tree.
CPPFLAGS="-I${PWD}/.." \
CC=gcc \ CC=gcc \
AR=ar \ AR=ar \
RANLIB=ranlib \ RANLIB=ranlib \