# HG changeset patch # User Antoine Bodin # Date 1297736328 -3600 # Node ID 822f56c3e541e9526749b9cc814c23d3a9b2fa81 # Parent ad41e83c14bc51b5e2c27b3793c67bcf2fe98643 Fix: use right display-related code into gcc diff -r ad41e83c14bc -r 822f56c3e541 gcc/receipt --- a/gcc/receipt Tue Feb 15 03:16:51 2011 +0100 +++ b/gcc/receipt Tue Feb 15 03:18:48 2011 +0100 @@ -18,9 +18,9 @@ cd $src # GCC requires the GMP, MPFR and MPC packages. - tazwok get-src mpfr --target=$PWD/mpfr - tazwok get-src gmp --target=$PWD/gmp - tazwok get-src mpc-library --target=$PWD/mpc + tazwok get-src mpfr --target=$PWD/mpfr || { report close-bloc; return 1; } + tazwok get-src gmp --target=$PWD/gmp || { report close-bloc; return 1; } + tazwok get-src mpc-library --target=$PWD/mpc || { report close-bloc; return 1; } report step "Running compilation" @@ -38,7 +38,7 @@ --without-ppl --without-cloog && make && make install - } || return 1 + } || { report close-bloc; return 1; } # See LFS for more detais about this. ln -s libgcc.a `$BUILD_HOST-gcc -print-libgcc-file-name | \ @@ -50,7 +50,7 @@ { report open-bloc cd $src - patch -Np1 -i ../stuff/gcc-$VERSION-startfiles_fix-1.patch + patch -Np1 -i ../stuff/gcc-$VERSION-startfiles_fix-1.patch || { report close-bloc; return 1; } # Details about theses lines are in LFS book. sed 's@\./fixinc\.sh@-c true@' -i gcc/Makefile.in @@ -74,9 +74,9 @@ fi # GCC requires the GMP, MPFR and MPC packages. - tazwok get-src mpfr --target=$PWD/mpfr - tazwok get-src gmp --target=$PWD/gmp - tazwok get-src mpc-library --target=$PWD/mpc + tazwok get-src mpfr --target=$PWD/mpfr || { report close-bloc; return 1; } + tazwok get-src gmp --target=$PWD/gmp || { report close-bloc; return 1; } + tazwok get-src mpc-library --target=$PWD/mpc || { report close-bloc; return 1; } report step "Running compilation" @@ -96,7 +96,7 @@ --without-ppl --without-cloog && make && make install - } || return 1 + } || { report close-bloc; return 1; } ln -s gcc /tools/bin/cc report close-bloc }