patch -p1 -i $SRC/$name-$version-gnueabihf.patch
patch -p1 -i $SRC/$name-nocheck-fixincludes.patch
- sed -i 's|REVISION|REVISION " (CRUX-ARMHF)"|' $name/version.c
+ sed -i 's|REVISION|REVISION " (CRUX-ARM)"|' $name/version.c
# apply a sed substitutio that will suppress the installation of libiberty.a
sed 's|install_to_$(INSTALL_DEST) ||' -i libiberty/Makefile.in
--disable-nls \
--with-x=no \
--with-system-zlib \
- --with-pkgversion="CRUX-ARMHF"
+ --with-pkgversion="CRUX-ARM"
# 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