diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/lammps/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/lammps/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py index c1909451d1..cfe5cfa4bb 100644 --- a/var/spack/repos/builtin/packages/lammps/package.py +++ b/var/spack/repos/builtin/packages/lammps/package.py @@ -74,7 +74,7 @@ class Lammps(MakefilePackage): config.append('CCFLAGS = -fopenmp') config.append('LINKFLAGS = -fopenmp $(OPTFLAGS)') - config.append('SHFLAGS = -fPIC') + config.append('SHFLAGS = {0}'.format(self.compiler.pic_flag)) config.append('DEPFLAGS = -M') config.append('LINK = c++') |