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