gcc: Update mpfr with patches for use in toolchain build
Commit Message
- 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>
---
lfs/gcc | 1 +
1 file changed, 1 insertion(+)
Comments
Excellent, thank you for taking care of this.
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
> - 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>
> ---
> lfs/gcc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lfs/gcc b/lfs/gcc
> index 5ce29a13d..1d9d172c2 100644
> --- 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
@@ -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