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`.
This commit is contained in:
Carlos Bederián 2017-02-17 21:44:16 +02:00 committed by Todd Gamblin
parent 78962c8978
commit 0f51daff24

View file

@ -126,7 +126,7 @@ def configure_args(self):
if '+pic' in spec: if '+pic' in spec:
extra_args.append('CFLAGS={0}'.format(self.compiler.pic_flag)) extra_args.append('CFLAGS={0}'.format(self.compiler.pic_flag))
extra_args.append('CXXFLAGS={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: if '+mpi' in spec:
# The HDF5 configure script warns if cxx and mpi are enabled # The HDF5 configure script warns if cxx and mpi are enabled