mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-24 11:04:11 -05:00
optimisation for newlib, next release is devkitARM r30
This commit is contained in:
parent
0d343daed0
commit
e028bb571a
|
|
@ -72,7 +72,7 @@ then
|
|||
--target=$target \
|
||||
--with-newlib \
|
||||
--prefix=$prefix\
|
||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 29" \
|
||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 30" \
|
||||
|| { echo "Error configuring gcc"; exit 1; }
|
||||
touch configured-gcc
|
||||
fi
|
||||
|
|
@ -101,7 +101,7 @@ cd $target/newlib
|
|||
|
||||
if [ ! -f configured-newlib ]
|
||||
then
|
||||
../../$NEWLIB_SRCDIR/configure \
|
||||
CFLAGS_FOR_TARGET="-DREENTRANT_SYSCALLS_PROVIDED -D__DEFAULT_UTF8__ -O2" ../../$NEWLIB_SRCDIR/configure \
|
||||
--disable-newlib-supplied-syscalls \
|
||||
--enable-newlib-mb \
|
||||
--target=$target \
|
||||
|
|
@ -112,7 +112,7 @@ fi
|
|||
|
||||
if [ ! -f built-newlib ]
|
||||
then
|
||||
$MAKE CFLAGS_FOR_TARGET="-DREENTRANT_SYSCALLS_PROVIDED -D__DEFAULT_UTF8__" || { echo "Error building newlib"; exit 1; }
|
||||
$MAKE || { echo "Error building newlib"; exit 1; }
|
||||
touch built-newlib
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user