netcdffortran: fix build with gfortran 10
This commit is contained in:
parent
1f776fb0cc
commit
cba2328ca4
|
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional stdenv.isDarwin CoreFoundation;
|
++ lib.optional stdenv.isDarwin CoreFoundation;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
FFLAGS = [ "-std=legacy" ];
|
||||||
|
FCFLAGS = [ "-std=legacy" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fortran API to manipulate netcdf files";
|
description = "Fortran API to manipulate netcdf files";
|
||||||
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
homepage = "https://www.unidata.ucar.edu/software/netcdf/";
|
||||||
|
|
Loading…
Reference in a new issue