mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
os-test-bins: include and link files from sysroot
This commit is contained in:
parent
0bdad8670b
commit
e7f59bb39b
@ -17,11 +17,18 @@ cd "${COOKBOOK_STAGE}/usr/share/os-test"
|
||||
rsync -a "${COOKBOOK_SOURCE}/" "./"
|
||||
|
||||
# Pre-compile tests for Redox
|
||||
make OS=Redox CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \
|
||||
CFLAGS= CPPFLAGS= \
|
||||
LDFLAGS= EXTRA_LDFLAGS= \
|
||||
CC_FOR_BUILD="${CC_WRAPPER} cc" CFLAGS_FOR_BUILD= CPPFLAGS_FOR_BUILD= \
|
||||
LDFLAGS_FOR_BUILD= -j ${COOKBOOK_MAKE_JOBS} all
|
||||
make OS=Redox \
|
||||
CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \
|
||||
CFLAGS="-I${COOKBOOK_SYSROOT}/include" \
|
||||
CPPFLAGS="-I${COOKBOOK_SYSROOT}/include" \
|
||||
LDFLAGS="-L${COOKBOOK_SYSROOT}/lib" \
|
||||
EXTRA_LDFLAGS= \
|
||||
CC_FOR_BUILD="${CC_WRAPPER} cc" \
|
||||
CFLAGS_FOR_BUILD= \
|
||||
CPPFLAGS_FOR_BUILD= \
|
||||
LDFLAGS_FOR_BUILD= \
|
||||
-j "${COOKBOOK_MAKE_JOBS}" \
|
||||
all
|
||||
|
||||
skips=(
|
||||
# These tests hang
|
||||
|
||||
Loading…
Reference in New Issue
Block a user