From 9be8a54407f91732078beb4b02a66d569ef97a8d Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 29 Nov 2011 13:01:47 +0100 Subject: [PATCH] Revert "Revert gcc: Fixed build and removed not needed configure options" This reverts commit 5e310dc17c739909a7be0432648b554fe57a283e. --- gcc/Pkgfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.26.2