From e0420eb690924cd51907976cde35271c872633ba Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Sat, 29 Aug 2020 01:23:19 +0200 Subject: [PATCH] newlib: add --disable-newlib-unbuf-stream-opt to avoid optimization causing fpu usage in note handler --- 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 01c5bef..e6bcc38 100755 --- a/cross/pkgs/newlib/build.sh +++ b/cross/pkgs/newlib/build.sh @@ -83,7 +83,7 @@ export CFLAGS_FOR_TARGET="-g -gdwarf-2 -ggdb -O$NEWLIB_OPTIMIZATION -std=gnu11 - mkdir $NEWLIB_BUILD && mkdir $NEWLIB_PREFIX && cd $NEWLIB_BUILD && - $NEWLIB_SRC/configure --enable-newlib-mb --disable-newlib-fvwrite-in-streamio --prefix=/pkgs/newlib --target=x86_64-jehanne && + $NEWLIB_SRC/configure --enable-newlib-mb --disable-newlib-fvwrite-in-streamio --disable-newlib-unbuf-stream-opt --prefix=/pkgs/newlib --target=x86_64-jehanne && make all && make DESTDIR=$NEWLIB_PREFIX install && cd $NEWLIB_PREFIX/pkgs/newlib/x86_64-jehanne/lib &&