# HG changeset patch # User Christophe Lincoln # Date 1306088684 -7200 # Node ID 704c6dd3e3ab50776fd770d3ba7d1725ff2fe3ca # Parent 105fefc7657f358497ef358ef8becc9e154d6ebe bash: use native gcc it dont cross compile diff -r 105fefc7657f -r 704c6dd3e3ab bash/receipt --- a/bash/receipt Sun May 22 10:16:00 2011 +0200 +++ b/bash/receipt Sun May 22 20:24:44 2011 +0200 @@ -10,6 +10,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/bash/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +CROSS="bug" # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() @@ -24,11 +25,14 @@ { # Patch and then build. cd $src - ./configure --bindir=/bin \ + ./configure \ + --build=$HOST_SYSTEM \ + --host=$HOST_SYSTEM \ + --bindir=/bin \ --enable-history --enable-alias \ --disable-nls --without-bash-malloc \ - --disable-help-builtin --with-installed-readline \ - $CONFIGURE_ARGS && + --disable-help-builtin \ + --with-installed-readline && make && # Bash doesn't care about DESTDIR in environnment variable. make DESTDIR=$DESTDIR install