use system zlib

This commit is contained in:
Dave Murphy 2016-12-10 19:17:21 +00:00
parent c34ecdd92f
commit 7b9a6387f4
3 changed files with 2 additions and 1 deletions

View File

@ -239,7 +239,6 @@ cd $BUILDDIR
extract_and_patch binutils $BINUTILS_VER bz2
extract_and_patch gcc $GCC_VER bz2
rm -fr gcc-$GCC_VER/zlib
extract_and_patch newlib $NEWLIB_VER gz
extract_and_patch gdb $GDB_VER xz

View File

@ -59,6 +59,7 @@ then
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
--prefix=$prefix \
--enable-lto $plugin_ld\
--with-system-zlib \
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 46" \
$CROSS_PARAMS \
|| { echo "Error configuring gcc"; exit 1; }

View File

@ -87,6 +87,7 @@ then
--with-newlib \
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
--prefix=$prefix\
--with-system-zlib\
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 28" \
$CROSS_PARAMS \
|| { echo "Error configuring gcc stage 1"; exit 1; }