forked from mirrors/nixpkgs
calculix: fix build with gfortran 10
This commit is contained in:
parent
2ea2f7b6d0
commit
94f1225197
|
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ arpack spooles blas lapack ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${spooles}/include/spooles";
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-I${spooles}/include/spooles"
|
||||
"-std=legacy"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./calculix.patch
|
||||
|
|
Loading…
Reference in a new issue