diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-08-09 18:56:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-08-09 18:56:50 (GMT) |
commit | 863e8872cb7fc902029762a149641fd1d66d6631 (patch) | |
tree | b6ac9951fbddd6b464373f99f93824f3163eb329 /config | |
parent | 9df7ffdaf045bc9d406eb2631875ccbd725425b5 (diff) | |
download | hdf5-863e8872cb7fc902029762a149641fd1d66d6631.zip hdf5-863e8872cb7fc902029762a149641fd1d66d6631.tar.gz hdf5-863e8872cb7fc902029762a149641fd1d66d6631.tar.bz2 |
[svn-r21199] Change default fortran compiler to gfortran
Tested: cygwin
Diffstat (limited to 'config')
-rw-r--r-- | config/i686-pc-cygwin | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config/i686-pc-cygwin b/config/i686-pc-cygwin index a51adc3..9b1ab74 100644 --- a/config/i686-pc-cygwin +++ b/config/i686-pc-cygwin @@ -1,4 +1,4 @@ -# -*- shell-script -*- +# -*- shell-script -*- # # Copyright by The HDF Group. # Copyright by the Board of Trustees of the University of Illinois. @@ -39,9 +39,9 @@ fi if test "X-" = "X-$FC"; then case $CC_BASENAME in gcc*) - FC=g95 + FC=gfortran FCLIBS=-lgcc - FC_BASENAME=g95 + FC_BASENAME=gfortran ;; pgcc*) FC=pgf90 @@ -61,6 +61,9 @@ else # The PGI and Intel compilers are automatically detected below ifc*|ifort*|pgf90*) ;; + gfortran) + FCLIBS=-lgcc + ;; g95) FCLIBS=-lgcc ;; |