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"
[crossrootfs.git] / 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 \