diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/zoltan/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/zoltan/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/zoltan/package.py b/var/spack/repos/builtin/packages/zoltan/package.py index 008bea9c27..6404cadbe1 100644 --- a/var/spack/repos/builtin/packages/zoltan/package.py +++ b/var/spack/repos/builtin/packages/zoltan/package.py @@ -76,7 +76,7 @@ class Zoltan(Package): if '+shared' in spec: config_args.append('RANLIB=echo') config_args.append('--with-ar=$(CXX) -shared $(LDFLAGS) -o') - config_cflags.append('-fPIC') + config_cflags.append(self.compiler.pic_flag) if spec.satisfies('%gcc'): config_args.append('--with-libs={0}'.format('-lgfortran')) |