diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-11 21:32:22 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-11 21:32:22 (GMT) |
commit | b96f342722a76cf3861f0d160f71aa3e5c3b7e88 (patch) | |
tree | 21808a536b1c38719684bd7bdd21fb325584c29d /fortran/src/Makefile.am | |
parent | 791146f98a08c90958fe5df3f546dddc7d341271 (diff) | |
download | hdf5-b96f342722a76cf3861f0d160f71aa3e5c3b7e88.zip hdf5-b96f342722a76cf3861f0d160f71aa3e5c3b7e88.tar.gz hdf5-b96f342722a76cf3861f0d160f71aa3e5c3b7e88.tar.bz2 |
[svn-r9993] Purpose:
Bug fix
Description:
Arabica exhibited strange errors when linker found wrong versions of
header files. This happened because include directories were
given to linker in the wrong order.
Solution:
Move include directories from AM_CFLAGS variable to INCLUDES
variable to put them before CPPFLAGS variable. Trust me, it works.
This bug may also have contributed to strange errors on other platforms
(kelgia?).
Platforms tested:
copper, sleipnir, arabica.
(h5dump broke while building on arabica, but this happened in
a clean checkout, too).
Diffstat (limited to 'fortran/src/Makefile.am')
-rw-r--r-- | fortran/src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am index 9e055bc..f2ffc1b 100644 --- a/fortran/src/Makefile.am +++ b/fortran/src/Makefile.am @@ -21,7 +21,7 @@ include $(top_srcdir)/config/commence.am # Include src directory in both Fortran and C flags (C compiler is used # for linking) -AM_CFLAGS = -I$(top_srcdir)/src +INCLUDES = -I$(top_srcdir)/src AM_FFLAGS=-I$(top_srcdir)/src # This is our main target, the fortran library |