Description
https://github.com/Reference-LAPACK/lapack/blob/master/CMAKE/CheckLAPACKCompilerFlags.cmake#L38-L47
This produces the wrong flags in an environment where PE_ENV is CRAY but the Fortran_COMPILER_ID is GNU.
Note, we're not using Cray wrappers at all, they're just loaded by default, but our build uses a native GCC compiler.
Checklist