summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-07-18 06:48:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-07-18 06:48:16 (GMT)
commit0f2c1b8126075b2a1652644e5f529f83b771a52c (patch)
treeaa1559259125f1d796b02f5d11d23052919e89df /config
parent8bd2c81cd58f3346de7d4e216ffb854835ac741e (diff)
downloadhdf5-0f2c1b8126075b2a1652644e5f529f83b771a52c.zip
hdf5-0f2c1b8126075b2a1652644e5f529f83b771a52c.tar.gz
hdf5-0f2c1b8126075b2a1652644e5f529f83b771a52c.tar.bz2
Moved the -std=f2008 option to gfortran 9 for now.
Diffstat (limited to 'config')
-rw-r--r--config/gnu-fflags5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/gnu-fflags b/config/gnu-fflags
index 3a47787..d054980 100644
--- a/config/gnu-fflags
+++ b/config/gnu-fflags
@@ -52,7 +52,10 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
F9XSUFFIXFLAG=""
FSEARCH_DIRS=""
- H5_FCFLAGS="$H5_FCFLAGS -std=f2008"
+ if test $f9x_vers_major -ge 9; then
+ H5_FCFLAGS="$H5_FCFLAGS -std=f2008"
+ fi
+
###############################
# Architecture-specific flags #