newlib: fix includes in CFLAGS_FOR_TARGET

This commit is contained in:
Giacomo Tesio 2019-12-27 17:34:51 +01:00
parent 5697f4bc7f
commit 90272aea5a
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ if [ "$NEWLIB_OPTIMIZATION" = "" ]; then
fi
export CC=gcc
export CFLAGS_FOR_TARGET="-g -gdwarf-2 -ggdb -O$NEWLIB_OPTIMIZATION -std=gnu11 -I$JEHANNE_TOOLCHAIN/cross/posix/lib/gcc/x86_64-jehanne/9.2.0/include -Lposix"
export CFLAGS_FOR_TARGET="-g -gdwarf-2 -ggdb -O$NEWLIB_OPTIMIZATION -std=gnu11 -isystem$JEHANNE_TOOLCHAIN/cross/posix/lib/gcc/x86_64-jehanne/9.2.0/include -lposix"
(
rm -fr $NEWLIB_BUILD &&