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:
parent
78962c8978
commit
0f51daff24
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue