X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fgcc;h=6fdf2ea314e6913fa49cefc8a90e20dd68d24a9e;hb=aa88b2ef592401863585d7f6fc1eb7b63849f7d0;hp=edfae4281815a61a03c4f40a2d67c63c65a0bf0c;hpb=09cdb999daaad3488b749abc50dada43adaf9e12;p=ipfire-2.x.git diff --git a/lfs/gcc b/lfs/gcc index edfae42818..6fdf2ea314 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -185,7 +185,7 @@ objects = $(DL_FILE) \ mpc-$(MPC_VER).tar.gz $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -gmp-$(GMP_VER).tar.bz2 = $(DL_FROM)/gmp-$(GMP_VER).tar.bz2 +gmp-$(GMP_VER).tar.xz = $(DL_FROM)/gmp-$(GMP_VER).tar.xz mpfr-$(MPFR_VER).tar.xz = $(DL_FROM)/mpfr-$(MPFR_VER).tar.xz mpc-$(MPC_VER).tar.gz = $(DL_FROM)/mpc-$(MPC_VER).tar.gz @@ -224,6 +224,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) $(DIR_SRC)/gcc-build && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) @mkdir $(DIR_SRC)/gcc-build + cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/gcc-7-glibc-2.28-ustat.patch + cd $(DIR_APP) && sed -i 's/install_to_$$(INSTALL_DEST) //' libiberty/Makefile.in cd $(DIR_APP) && sed -i gcc/Makefile.in \ -e 's@\./fixinc\.sh@-c true@' \