wok diff gcc/receipt @ rev 9154
magicpoint: needs make -j1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 09:07:43 2011 +0100 (2011-03-07) |
parents | 0b4cf0d9e1b5 |
children | d1768332cee0 |
line diff
1.1 --- a/gcc/receipt Mon Feb 14 19:09:46 2011 +0100 1.2 +++ b/gcc/receipt Mon Mar 07 09:07:43 2011 +0100 1.3 @@ -18,9 +18,9 @@ 1.4 cd $src 1.5 1.6 # GCC requires the GMP, MPFR and MPC packages. 1.7 - tazwok get-src mpfr --target=$PWD/mpfr 1.8 - tazwok get-src gmp --target=$PWD/gmp 1.9 - tazwok get-src mpc-library --target=$PWD/mpc 1.10 + tazwok get-src mpfr --target=$PWD/mpfr || { report close-bloc; return 1; } 1.11 + tazwok get-src gmp --target=$PWD/gmp || { report close-bloc; return 1; } 1.12 + tazwok get-src mpc-library --target=$PWD/mpc || { report close-bloc; return 1; } 1.13 1.14 report step "Running compilation" 1.15 1.16 @@ -38,7 +38,7 @@ 1.17 --without-ppl --without-cloog && 1.18 make && 1.19 make install 1.20 - } || return 1 1.21 + } || { report close-bloc; return 1; } 1.22 1.23 # See LFS for more detais about this. 1.24 ln -s libgcc.a `$BUILD_HOST-gcc -print-libgcc-file-name | \ 1.25 @@ -50,7 +50,7 @@ 1.26 { 1.27 report open-bloc 1.28 cd $src 1.29 - patch -Np1 -i ../stuff/gcc-$VERSION-startfiles_fix-1.patch 1.30 + patch -Np1 -i ../stuff/gcc-$VERSION-startfiles_fix-1.patch || { report close-bloc; return 1; } 1.31 1.32 # Details about theses lines are in LFS book. 1.33 sed 's@\./fixinc\.sh@-c true@' -i gcc/Makefile.in 1.34 @@ -74,9 +74,9 @@ 1.35 fi 1.36 1.37 # GCC requires the GMP, MPFR and MPC packages. 1.38 - tazwok get-src mpfr --target=$PWD/mpfr 1.39 - tazwok get-src gmp --target=$PWD/gmp 1.40 - tazwok get-src mpc-library --target=$PWD/mpc 1.41 + tazwok get-src mpfr --target=$PWD/mpfr || { report close-bloc; return 1; } 1.42 + tazwok get-src gmp --target=$PWD/gmp || { report close-bloc; return 1; } 1.43 + tazwok get-src mpc-library --target=$PWD/mpc || { report close-bloc; return 1; } 1.44 1.45 report step "Running compilation" 1.46 1.47 @@ -96,7 +96,7 @@ 1.48 --without-ppl --without-cloog && 1.49 make && 1.50 make install 1.51 - } || return 1 1.52 + } || { report close-bloc; return 1; } 1.53 ln -s gcc /tools/bin/cc 1.54 report close-bloc 1.55 }