guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: netcdf-fortran: Fix compiling with gfortran 10.


From: guix-commits
Subject: 03/03: gnu: netcdf-fortran: Fix compiling with gfortran 10.
Date: Fri, 20 Aug 2021 08:12:08 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit d130eaf13e78366e74d950052589e570e93f3b62
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Aug 20 13:59:13 2021 +0200

    gnu: netcdf-fortran: Fix compiling with gfortran 10.
    
    * gnu/packages/maths.scm (netcdf-fortran)[arguments]: Add
      'allow-argument-mismatch' flag for gfortran in 'configure-flags'.
---
 gnu/packages/maths.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 472f537..bd2d23c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1746,7 +1746,9 @@ sharing of scientific data.")
                 "0x4acvfhbsx1q79dkkwrwbgfhm0w5ngnp4zj5kk92s1khihmqfhj"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:parallel-tests? #f))
+     `(#:configure-flags '("FCFLAGS=-fallow-argument-mismatch"
+                           "FFLAGS=-fallow-argument-mismatch")
+       #:parallel-tests? #f))
     (inputs
      `(("netcdf" ,netcdf)))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]