diff options
author | Carlos Bederián <zzzoom@gmail.com> | 2017-02-17 21:44:16 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-17 11:44:16 -0800 |
commit | 0f51daff24717d1837227f6630b20a2f6472dfdb (patch) | |
tree | da7e4f908d1693faed733bff22831a17bb5f181b /var | |
parent | 78962c8978c2f5b1badfb4c19c38d64c7870ba24 (diff) | |
download | spack-0f51daff24717d1837227f6630b20a2f6472dfdb.tar.gz spack-0f51daff24717d1837227f6630b20a2f6472dfdb.tar.bz2 spack-0f51daff24717d1837227f6630b20a2f6472dfdb.tar.xz spack-0f51daff24717d1837227f6630b20a2f6472dfdb.zip |
hdf5: configure uses FCFLAGS instead of FFLAGS (#3155)
When building `hdf5+pic`, `-fPIC` wasn't being passed to the fortran compiler because `configure` takes `FCFLAGS` instead of `FFLAGS`.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 2 |
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 |