From: Victor Martinez Date: Tue, 29 Nov 2011 12:01:47 +0000 (+0100) Subject: Revert "Revert gcc: Fixed build and removed not needed configure options" X-Git-Url: http://gitweb/?a=commitdiff_plain;h=9be8a54407f91732078beb4b02a66d569ef97a8d;p=attic%2Fports%2Fcore-cross.git Revert "Revert gcc: Fixed build and removed not needed configure options" This reverts commit 5e310dc17c739909a7be0432648b554fe57a283e. --- diff --git a/gcc/Pkgfile b/gcc/Pkgfile index a06c7e0..795910f 100644 --- a/gcc/Pkgfile +++ b/gcc/Pkgfile @@ -23,7 +23,9 @@ build() { cd $SRC/build LDFLAGS="-Wl,-rpath-link,$CROSSTOOLS/$CTARGET/lib" \ - ../$name-$version/configure --build=$MACHTYPE \ + ../$name-$version/configure --build=$CHOST \ + --host=$CTARGET \ + --target=$CTARGET \ --prefix=/usr \ --mandir=/usr/man \ --libexecdir=/usr/lib \