summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 5e82818697..3b646f825c 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -126,7 +126,7 @@ class Hdf5(AutotoolsPackage):
if '+pic' in spec:
extra_args.append('CFLAGS={0}'.format(self.compiler.pic_flag))
extra_args.append('CXXFLAGS={0}'.format(self.compiler.pic_flag))
- extra_args.append('FFLAGS={0}'.format(self.compiler.pic_flag))
+ extra_args.append('FCFLAGS={0}'.format(self.compiler.pic_flag))
if '+mpi' in spec:
# The HDF5 configure script warns if cxx and mpi are enabled