newlib: set CPATH to cross compiler's includes
This commit is contained in:
parent
c5b3f320fa
commit
065a42c61a
@ -31,6 +31,10 @@ export NEWLIB_SRC=$NEWLIB/src/
|
||||
export NEWLIB_BUILD=$NEWLIB/build/
|
||||
export NEWLIB_PREFIX=$NEWLIB/output/
|
||||
|
||||
# since our cross compiler is inside the system root, we need this too
|
||||
export CPATH=$CROSS_DIR/toolchain/lib/gcc/x86_64-jehanne/4.9.4/include:$CROSS_DIR/toolchain/lib/gcc/x86_64-jehanne/4.9.4/include-fixed"
|
||||
|
||||
|
||||
function failOnError {
|
||||
# $1 -> exit status on a previous command
|
||||
# $2 -> task description
|
||||
|
Loading…
x
Reference in New Issue
Block a user