mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
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:
parent
548f45ec1d
commit
0a922a219d
1 changed files with 3 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue