diff options
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py index 6b22e76f0e..be52030057 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -120,7 +120,7 @@ class SuiteSparse(Package): elif '%pgi' in spec: make_args += ['CFLAGS+=--exceptions'] - if '%xl' in spec or '%xl_r' in spec: + if spack_f77.endswith('xlf') or spack_f77.endswith('xlf_r'): make_args += ['CFLAGS+=-DBLAS_NO_UNDERSCORE'] # Intel TBB in SuiteSparseQR |