]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
gcc: Update mpfr with patches for use in toolchain build
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 1 May 2022 13:47:13 +0000 (15:47 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 2 May 2022 05:39:00 +0000 (05:39 +0000)
- 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>
lfs/gcc

diff --git a/lfs/gcc b/lfs/gcc
index 5ce29a13db08413a898eaba31ada86c6531c0540..1d9d172c2f9006fed40d0dd05724386c30c71c80 100644 (file)
--- a/lfs/gcc
+++ b/lfs/gcc
@@ -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