mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r23410] HDFFV-8264: Using F2003, build fails on Fedora with undefined reference to __h5r_MOD_h5rget_region_region_f
This turned out being an issue with configure. The reporter submitted a patch which fixed the fact that we should not be setting AM_FCFLAGS (an automake variable) with FFLAGS (a user variable). I removed this, and we now only set FFLAGS if the environment variable is set, otherwise we don't. Tested: jam (gnu)
This commit is contained in:
parent
e8955b876c
commit
a0ec9c282b
@ -434,9 +434,10 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
|
||||
|
||||
## --------------------------------------------------------------------
|
||||
## General Fortran flags
|
||||
##
|
||||
AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
|
||||
FCFLAGS="${FCFLAGS} ${FFLAGS}"
|
||||
## Only add FFLAGS to FCFLAGS if it's set.
|
||||
if test "x$FFLAGS" != "x" ; then
|
||||
FCFLAGS="${FCFLAGS} ${FFLAGS}"
|
||||
fi
|
||||
|
||||
## --------------------------------------------------------------------
|
||||
## Fortran source extention
|
||||
|
Loading…
Reference in New Issue
Block a user