mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-26 00:06:11 -05:00
bump devkitARM version
correct FLAGS for building newlib
This commit is contained in:
parent
58ddf64ca4
commit
f55136458f
|
|
@ -53,7 +53,7 @@ then
|
||||||
--target=$target \
|
--target=$target \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
--prefix=$prefix\
|
--prefix=$prefix\
|
||||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 23" \
|
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 23a" \
|
||||||
|| { echo "Error configuring gcc"; exit 1; }
|
|| { echo "Error configuring gcc"; exit 1; }
|
||||||
touch configured-gcc
|
touch configured-gcc
|
||||||
fi
|
fi
|
||||||
|
|
@ -80,7 +80,7 @@ cd $target/newlib
|
||||||
|
|
||||||
if [ ! -f configured-newlib ]
|
if [ ! -f configured-newlib ]
|
||||||
then
|
then
|
||||||
CFLAGS=-DREENTRANT_SYSCALLS_PROVIDED ../../$NEWLIB_SRCDIR/configure \
|
../../$NEWLIB_SRCDIR/configure \
|
||||||
--disable-newlib-supplied-syscalls \
|
--disable-newlib-supplied-syscalls \
|
||||||
--enable-newlib-mb \
|
--enable-newlib-mb \
|
||||||
--target=$target \
|
--target=$target \
|
||||||
|
|
@ -91,7 +91,7 @@ fi
|
||||||
|
|
||||||
if [ ! -f built-newlib ]
|
if [ ! -f built-newlib ]
|
||||||
then
|
then
|
||||||
$MAKE || { echo "Error building newlib"; exit 1; }
|
$MAKE CFLAGS_FOR_TARGET=-DREENTRANT_SYSCALLS_PROVIDED || { echo "Error building newlib"; exit 1; }
|
||||||
touch built-newlib
|
touch built-newlib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user