diff options
-rw-r--r-- | config/gnu-fflags | 5 |
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 # |