cookutils rev 365

cross: small fix
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 10 02:08:29 2012 +0200 (2012-05-10)
parents 38fc81ba44de
children 23aed475bdf2
files cross
line diff
     1.1 --- a/cross	Wed May 09 23:05:01 2012 +0200
     1.2 +++ b/cross	Thu May 10 02:08:29 2012 +0200
     1.3 @@ -129,7 +129,7 @@
     1.4  			archopts="" ;;
     1.5  	esac
     1.6  	mkdir -p glibc-build && cd glibc-build
     1.7 -	BUILD_CC="gcc"
     1.8 +	BUILD_CC="gcc" \
     1.9  	CC="$PREFIX/bin/$TARGET-gcc" \
    1.10  	libc_cv_forced_unwind=yes \
    1.11  	libc_cv_c_cleanup=yes \
    1.12 @@ -220,7 +220,7 @@
    1.13  		fi
    1.14  		echo -e "\n[CHECKING] readelf -h test.out" | tee -a $logdir/testsuite.log
    1.15  		readelf -h test.out | tee -a $logdir/testsuite.log ;;
    1.16 -	check-host)
    1.17 +	check-env)
    1.18  		for pkg in mpfr mpfr-dev gmp gmp-dev mpc-library gawk autoconf
    1.19  		do
    1.20  			if [ ! -d "/var/lib/tazpkg/installed/$pkg" ]; then
    1.21 @@ -267,7 +267,7 @@
    1.22  		glibc 2>&1 | tee $logdir/glibc.log
    1.23  		gcc_final 2>&1 | tee $logdir/gcc-final.log
    1.24  		echo ""
    1.25 -		echo "Compile end: $(date)" | tee -a $logdir/compile.log
    1.26 +		echo "Compile end  : $(date)" | tee -a $logdir/compile.log
    1.27  		echo "" ;;
    1.28  	*)
    1.29  		usage ;;