CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Revert "Revert gcc: Fixed build and removed not needed configure options"
authorVictor Martinez <pitillo@ono.com>
Tue, 29 Nov 2011 12:01:47 +0000 (13:01 +0100)
committerVictor Martinez <pitillo@ono.com>
Tue, 29 Nov 2011 12:01:47 +0000 (13:01 +0100)
This reverts commit 5e310dc17c739909a7be0432648b554fe57a283e.

gcc/Pkgfile

index a06c7e0e14a4184197b47dd4d6c108e956085677..795910fa63ead0ebbe6e34660e4a2f793c467309 100644 (file)
@@ -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 \