newlib: use -O0 and --disable-newlib-fvwrite-in-streamio
This commit is contained in:
parent
cd087cebd1
commit
bc1847a444
@ -47,7 +47,7 @@ function failOnError {
|
||||
}
|
||||
|
||||
if [ "$NEWLIB_OPTIMIZATION" = "" ]; then
|
||||
NEWLIB_OPTIMIZATION=2
|
||||
NEWLIB_OPTIMIZATION=0
|
||||
fi
|
||||
|
||||
export CC=gcc
|
||||
@ -62,7 +62,7 @@ export CFLAGS_FOR_TARGET="-g -gdwarf-2 -ggdb -O$NEWLIB_OPTIMIZATION"
|
||||
mkdir $NEWLIB_BUILD &&
|
||||
mkdir $NEWLIB_PREFIX &&
|
||||
cd $NEWLIB_BUILD &&
|
||||
$NEWLIB_SRC/configure --enable-newlib-mb --prefix=$NEWLIB_PREFIX --target=x86_64-jehanne &&
|
||||
$NEWLIB_SRC/configure --enable-newlib-mb --disable-newlib-fvwrite-in-streamio --prefix=$NEWLIB_PREFIX --target=x86_64-jehanne &&
|
||||
make all && make install &&
|
||||
rm -fr $JEHANNE/sys/posix/newlib &&
|
||||
rm -fr $JEHANNE/arch/amd64/lib/newlib &&
|
||||
|
Loading…
Reference in New Issue
Block a user