Skip to content

Commit

Permalink
netcdffortran: fix build with gfortran 10
Browse files Browse the repository at this point in the history
  • Loading branch information
r-burns committed Apr 12, 2022
1 parent 1f776fb commit cba2328
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/netcdf-fortran/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit cba2328

Please sign in to comment.