Fix cross-development not building binutils with --disable-werror.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-05-06 02:30:31 +02:00
parent 8591bcef7b
commit e01fb1bc06
1 changed files with 2 additions and 3 deletions

View File

@ -131,7 +131,7 @@ you can build binutils out-of-directory using these commands:
--target=$SORTIX_PLATFORM \ --target=$SORTIX_PLATFORM \
--with-sysroot="$SYSROOT" \ --with-sysroot="$SYSROOT" \
--prefix="$CROSS_PREFIX" \ --prefix="$CROSS_PREFIX" \
--program-prefix=$SORTIX_PLATFORM- && --disable-werror &&
make && make &&
make install make install
@ -152,8 +152,7 @@ you can build gcc out-of-directory using these commands.
--target=$SORTIX_PLATFORM \ --target=$SORTIX_PLATFORM \
--with-sysroot=$SYSROOT \ --with-sysroot=$SYSROOT \
--prefix="$CROSS_PREFIX" \ --prefix="$CROSS_PREFIX" \
--enable-languages=c,c++ \ --enable-languages=c,c++ &&
--program-prefix=$SORTIX_PLATFORM- &&
make all-gcc all-target-libgcc && make all-gcc all-target-libgcc &&
make install-gcc install-target-libgcc make install-gcc install-target-libgcc