wok diff bash/receipt @ rev 10344

bash: use native gcc it dont cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 20:24:44 2011 +0200 (2011-05-22)
parents 342cd0420c47
children e2c80c0bf72a
line diff
     1.1 --- a/bash/receipt	Fri May 20 04:13:09 2011 +0000
     1.2 +++ b/bash/receipt	Sun May 22 20:24:44 2011 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.gnu.org/software/bash/"
     1.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.7 +CROSS="bug"
     1.8  
     1.9  # Rules to compile & install the temporary toolchain.
    1.10  cook_tmp_toolchain()
    1.11 @@ -24,11 +25,14 @@
    1.12  {
    1.13  	# Patch and then build.
    1.14  	cd $src
    1.15 -	./configure --bindir=/bin \
    1.16 +	./configure \
    1.17 +		--build=$HOST_SYSTEM \
    1.18 +		--host=$HOST_SYSTEM \
    1.19 +		--bindir=/bin \
    1.20  		--enable-history --enable-alias  \
    1.21  		--disable-nls --without-bash-malloc \
    1.22 -		--disable-help-builtin --with-installed-readline \ 
    1.23 -		$CONFIGURE_ARGS &&
    1.24 +		--disable-help-builtin \
    1.25 +		--with-installed-readline &&
    1.26  	make &&
    1.27  	# Bash doesn't care about DESTDIR in environnment variable.
    1.28  	make DESTDIR=$DESTDIR install