diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mfem/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mfem/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py index 08a4790f68..f754cd915e 100644 --- a/var/spack/repos/builtin/packages/mfem/package.py +++ b/var/spack/repos/builtin/packages/mfem/package.py @@ -307,7 +307,9 @@ class Mfem(Package): if '~static' in spec: options += ['STATIC=NO'] if '+shared' in spec: - options += ['SHARED=YES', 'PICFLAG=%s' % self.compiler.pic_flag] + options += [ + 'SHARED=YES', 'PICFLAG=%s' % self.compiler.cxx_pic_flag + ] if '+mpi' in spec: options += ['MPICXX=%s' % spec['mpi'].mpicxx] |