source=(ftp://gcc.gnu.org/pub/gcc/releases/$name-$version/$name-$version.tar.bz2
$name-nocheck-fixincludes.patch $name-$version-gnueabihf.patch)
source=(ftp://gcc.gnu.org/pub/gcc/releases/$name-$version/$name-$version.tar.bz2
$name-nocheck-fixincludes.patch $name-$version-gnueabihf.patch)
- sed -i 's|REVISION|REVISION " (CRUX-ARMHF)"|' $name/version.c
- # apply a sed substitutio that will suppress the installation of libiberty.a
+ sed -i 's|REVISION|REVISION " (CRUX-ARM)"|' $name/version.c
+ # apply a sed substitution that will suppress the installation of libiberty.a
LDFLAGS="-Wl,-rpath-link,$CROSSTOOLS/$CTARGET/lib" \
../$name-$version/configure --build=$CHOST \
--host=$CTARGET \
LDFLAGS="-Wl,-rpath-link,$CROSSTOOLS/$CTARGET/lib" \
../$name-$version/configure --build=$CHOST \
--host=$CTARGET \
# prevent GCC from looking in the wrong directories for headers and libraries
sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" -i Makefile
# prevent GCC from looking in the wrong directories for headers and libraries
sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" -i Makefile