coverity-scan.sh: set CPATH to workaround cross-compiling issues

This commit is contained in:
2017-04-23 14:03:18 +02:00
parent 7771a83f18
commit fc63a34c55
2 changed files with 5 additions and 2 deletions

View File

@ -51,8 +51,6 @@ if [ "$NEWLIB_OPTIMIZATION" = "" ]; then
fi
export CC=gcc
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
# NOTE: we use -O0 because apparently vsprintf functions do not
# work with -O2.