diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-28 22:54:17 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-28 22:54:17 (GMT) |
commit | 5b4232e9d164434e422bdd72199f39507af984d8 (patch) | |
tree | f872924dd1d0d6f1059cf99a48317933b341286b /fortran/testpar | |
parent | 08bce1b7d2969ccb08ad4ba963ec6f17f57e9728 (diff) | |
download | hdf5-5b4232e9d164434e422bdd72199f39507af984d8.zip hdf5-5b4232e9d164434e422bdd72199f39507af984d8.tar.gz hdf5-5b4232e9d164434e422bdd72199f39507af984d8.tar.bz2 |
[svn-r10107] Purpose:
Bug fix
Description:
Fortran builds were dying with unknown flags.
Solution:
Fortran builds should be static, not shared. Static flags had been specified
for libraries, but apparently were also needed for executables.
Solved problem by adding static flag to everything in fortran directories.
Platforms tested:
mir, eirene
Diffstat (limited to 'fortran/testpar')
-rw-r--r-- | fortran/testpar/Makefile.am | 3 | ||||
-rw-r--r-- | fortran/testpar/Makefile.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/fortran/testpar/Makefile.am b/fortran/testpar/Makefile.am index e6301d0..39aceb0 100644 --- a/fortran/testpar/Makefile.am +++ b/fortran/testpar/Makefile.am @@ -22,6 +22,9 @@ include $(top_srcdir)/config/commence.am # Include files AM_FFLAGS=-I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test $(F9XMODFLAG)$(top_builddir)/fortran/src +# Fortran libraries are linked statically to solve a build problem. +AM_LDFLAGS=-static + # These are our main targets TEST_PROG_PARA=ptesthdf5_fortran check_PROGRAMS=$(TEST_PROG_PARA) diff --git a/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in index 8ca8cf3..24bd5d6 100644 --- a/fortran/testpar/Makefile.in +++ b/fortran/testpar/Makefile.in @@ -196,6 +196,9 @@ F9XMODFLAG = @F9XMODFLAG@ # Include files AM_FFLAGS = -I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test $(F9XMODFLAG)$(top_builddir)/fortran/src +# Fortran libraries are linked statically to solve a build problem. +AM_LDFLAGS = -static + # These are our main targets TEST_PROG_PARA = ptesthdf5_fortran check_PROGRAMS = $(TEST_PROG_PARA) |