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:
parent
aa91358cc2
commit
d192dab5a1
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user