diff options
Diffstat (limited to 'config/linux-gnulibc1')
-rw-r--r-- | config/linux-gnulibc1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1 index 33253b2..5ece750 100644 --- a/config/linux-gnulibc1 +++ b/config/linux-gnulibc1 @@ -35,10 +35,14 @@ fi # Figure out Intel C compiler flags . $srcdir/config/intel-flags -# The default Fortran 90 compiler +# Use default Fortran 90 compiler according to what C compiler is used. if test "X-" = "X-$FC"; then case $CC_BASENAME in - gcc*|pgcc*) + gcc*) + FC=g95 + FC_BASENAME=g95 + ;; + pgcc*) FC=pgf90 FC_BASENAME=pgf90 ;; |