summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/superlu-mt/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-mt/package.py b/var/spack/repos/builtin/packages/superlu-mt/package.py
index 8f0e39d3aa..b3595428ab 100644
--- a/var/spack/repos/builtin/packages/superlu-mt/package.py
+++ b/var/spack/repos/builtin/packages/superlu-mt/package.py
@@ -57,7 +57,8 @@ class SuperluMt(Package):
'TMGLIB = libtmglib.a',
'MPLIB = {0}'.format(self.compiler.openmp_flag),
'CFLAGS = {0}'.format(self.compiler.openmp_flag),
- 'FFLAGS = {0}'.format(self.compiler.openmp_flag)
+ 'FFLAGS = {0}'.format(self.compiler.openmp_flag),
+ 'LOADOPTS += {0}'.format(self.compiler.openmp_flag)
])
elif '+pthread' in spec:
# POSIX threads