From b192b198d26c47ab149e382fcdcd25166ac7445dcdc8e009d9cb7e17ad9bff41 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 1 Jul 2020 05:26:47 +0000 Subject: [PATCH] Accepting request 817964 from home:eeich:branches:science - With gcc10, some fortran code started failing to build - add compiler option -std=legacy to fix (bsc#1173549). OBS-URL: https://build.opensuse.org/request/show/817964 OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=47 --- mumps.changes | 6 ++++++ mumps.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mumps.changes b/mumps.changes index 8a4b680..0c42001 100644 --- a/mumps.changes +++ b/mumps.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 30 20:05:56 UTC 2020 - Egbert Eich + +- With gcc10, some fortran code started failing to build - + add compiler option -std=legacy to fix (bsc#1173549). + ------------------------------------------------------------------- Tue Jun 2 07:50:37 UTC 2020 - Egbert Eich diff --git a/mumps.spec b/mumps.spec index d7fb99a..8bba38d 100644 --- a/mumps.spec +++ b/mumps.spec @@ -580,7 +580,7 @@ module load openblas scalapack %if %{with mpi} # Set LD_LIBRARY_PATH and PATH %define C_C mpicc - %define F_C mpif77 + %define F_C mpif77 -std=legacy %define F_L mpif77 %define SCALAP -lscalapack %{!?with_hpc:-lblacs} %define MUMPS_LIBF77 %{!?with_hpc:-L%{my_libdir}} %{?mumps_f77_mpilibs} @@ -590,7 +590,7 @@ module load openblas scalapack %define LIBS \\\$(LIBPAR) %else # mpi %define C_C gcc - %define F_C gfortran + %define F_C gfortran -std=legacy %define F_L gfortran %define LIBSEQNEEDED libseqneeded %define MUMPS_LIBF77 -lmpiseq%{?PLAT}