cookutils rev 401 2.0

cross: glibc dont like optimisation when cross building cross tools
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 15:56:20 2012 +0200 (2012-05-13)
parents 45feb8246d3c
children f74eb62977b5
files cross
line diff
     1.1 --- a/cross	Sun May 13 15:21:25 2012 +0200
     1.2 +++ b/cross	Sun May 13 15:56:20 2012 +0200
     1.3 @@ -116,7 +116,7 @@
     1.4  	# Some arch may need glibc-ports and custom CFLAGS
     1.5  	case $ARCH in
     1.6  		arm)
     1.7 -			export CFLAGS="-march=armv6 -mtune=generic -g -O2"
     1.8 +			#export CFLAGS="-march=armv6 -mtune=generic -g -O2"
     1.9  			[ -f "$SRC/glibc-ports-$GLIBC_VERSION.tar.bz2" ] || wget \
    1.10  				http://ftp.gnu.org/gnu/libc/glibc-ports-$GLIBC_VERSION.tar.bz2 \
    1.11  				-O $SRC/glibc-ports-$GLIBC_VERSION.tar.bz2 || exit 1
    1.12 @@ -279,7 +279,7 @@
    1.13  		sec=$time
    1.14  		div=$(( ($time + 30) / 60))
    1.15  		[ "$div" != 0 ] && min="~ ${div}m"
    1.16 -		echo "Build time: ${sec}s $min" | tee -a $logdir/compile.log
    1.17 +		echo "Build time   : ${sec}s $min" | tee -a $logdir/compile.log
    1.18  		echo "" ;;
    1.19  	clean-tools)
    1.20  		# Remove crap :-)