summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-08-20 13:59:13 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-08-20 14:10:49 +0200
commitd130eaf13e78366e74d950052589e570e93f3b62 (patch)
tree94d765fe05412c9dc9e3398a6a12fcf57b1eb969 /gnu
parent361d4627ab8d0bea1e4bc07b13961ad34e8cd7e4 (diff)
downloadguix-d130eaf13e78366e74d950052589e570e93f3b62.tar.gz
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'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maths.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 472f53720c..bd2d23c986 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