M2
M2 copied to clipboard
-lgfortran
If we don't build lapack ourselves, then there is no reason to link with libgfortran.
@d-torrance (moving the convo here)
I think we need it if we link against any Fortran implementation of BLAS, not just one we build, right? And I'm not sure how to detect that, especially if the user can hot-swap with flexiblas or Debian's alternatives system.
The point of flexiblas is that it takes care of different dependencies using dynamic linking.