X-Git-Url: http://gitweb/?a=blobdiff_plain;f=gcc%2FPkgfile;h=c0aab554976dbea8204b4f644bceb3a58a48ea58;hb=13d3564b3ed0281038e17549a5a137d6616fe5b6;hp=a06c7e0e14a4184197b47dd4d6c108e956085677;hpb=5e310dc17c739909a7be0432648b554fe57a283e;p=crossrootfs.git diff --git a/gcc/Pkgfile b/gcc/Pkgfile index a06c7e0..c0aab55 100644 --- a/gcc/Pkgfile +++ b/gcc/Pkgfile @@ -13,7 +13,6 @@ source=(ftp://sources.redhat.com/pub/gcc/releases/$name-$version/$name-{core,g++ build() { cd $name-$version - patch -p1 -i $SRC/$name-$version-gnueabihf.patch sed -i 's|REVISION|REVISION " (CRUX)"|' $name/version.c # apply a sed substitutio that will suppress the installation of libiberty.a @@ -23,7 +22,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 \