From d130eaf13e78366e74d950052589e570e93f3b62 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 20 Aug 2021 13:59:13 +0200 Subject: [PATCH] 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 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