netlib-lapack: Fix Fortran detection for XL (#35048)

* PR 30738 introduced changes in how we access compiler info. Looks like the XL case
got missed.
This commit is contained in:
QuellynSnead 2023-01-20 14:13:39 -07:00 committed by GitHub
parent aa91358cc2
commit d192dab5a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ def cmake_args(self):
# use F77 compiler if IBM XL
args.extend(
[
self.define("CMAKE_Fortran_COMPILER", self.compiler.f77),
self.define("CMAKE_Fortran_COMPILER", self.pkg.compiler.f77),
self.define(
"CMAKE_Fortran_FLAGS",
" ".join(self.spec.compiler_flags["fflags"]) + " -O3 -qnohot",