newlib: set CPATH for coverity too
This commit is contained in:
parent
4d58700318
commit
7771a83f18
|
@ -50,14 +50,9 @@ if [ "$NEWLIB_OPTIMIZATION" = "" ]; then
|
||||||
NEWLIB_OPTIMIZATION=2
|
NEWLIB_OPTIMIZATION=2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TRAVIS_BUILD_DIR" != "" ]; then
|
export CC=gcc
|
||||||
# something weird happens on Travis-CI so that newlib requires
|
export CPATH=$CROSS_DIR/lib/gcc/x86_64-jehanne/4.9.4/include:$CROSS_DIR/lib/gcc/x86_64-jehanne/4.9.4/include-fixed
|
||||||
# explicit set of the HOST compiler or it will use the
|
|
||||||
# Jehanne cross compiler and try to run the executable on linux
|
|
||||||
#
|
|
||||||
# I can't understand why...
|
|
||||||
export CC=gcc
|
|
||||||
fi
|
|
||||||
|
|
||||||
# NOTE: we use -O0 because apparently vsprintf functions do not
|
# NOTE: we use -O0 because apparently vsprintf functions do not
|
||||||
# work with -O2.
|
# work with -O2.
|
||||||
|
|
Loading…
Reference in New Issue