3
0
Fork 0
forked from mirrors/nixpkgs

calculix: fix build with gfortran 10

This commit is contained in:
Gabriel Ebner 2022-04-25 12:51:12 +02:00
parent 2ea2f7b6d0
commit 94f1225197

View file

@ -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