From 90272aea5ad9104d26974676af57642672d44578 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Fri, 27 Dec 2019 17:34:51 +0100 Subject: [PATCH] newlib: fix includes in CFLAGS_FOR_TARGET --- cross/pkgs/newlib/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross/pkgs/newlib/build.sh b/cross/pkgs/newlib/build.sh index 75b1bbd..82aabd8 100755 --- a/cross/pkgs/newlib/build.sh +++ b/cross/pkgs/newlib/build.sh @@ -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 &&