gcc: Update mpfr with patches for use in toolchain build

- Added mpfr consolidated patches file to mpfr in gcc. mpfr is built internally for use
   in the toolchain.
- Confirmed working by running./make toolchain which ran successfully
   confirmed from the _build.toolchain.log file that the patches were successfully
   implemented for gcc pass 1, gcc pass L and gcc pass 2
- Full toolchain build successfully completed.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Adolf Belka
2022-05-01 15:47:13 +02:00
committed by Peter Müller
parent 2784c87b0e
commit e1ea4c0ad2

View File

@@ -250,6 +250,7 @@ ifeq "$(TOOLCHAIN)" "1"
cd $(DIR_APP) && tar xfa $(DIR_DL)/gmp-$(GMP_VER).tar.xz
cd $(DIR_APP) && mv -v gmp-$(GMP_VER) gmp
cd $(DIR_APP) && tar xfa $(DIR_DL)/mpfr-$(MPFR_VER).tar.xz
cd $(DIR_APP)/mpfr-$(MPFR_VER) && patch -Np1 < $(DIR_SRC)/src/patches/mpfr-4.1.0-cumulative-patches-1-to-13.patch
cd $(DIR_APP) && mv -v mpfr-$(MPFR_VER) mpfr
cd $(DIR_APP) && tar xfa $(DIR_DL)/mpc-$(MPC_VER).tar.gz
cd $(DIR_APP) && mv -v mpc-$(MPC_VER) mpc