From 1a2ddc096608d22d27ae0c261accf2c125fea892 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 17 Feb 2007 14:36:53 -0500 Subject: [svn-r13324] Changed the default Fortran compiler for gcc from pgf90 to g95. --- config/linux-gnulibc1 | 8 ++++++-- 1 file 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 ;; -- cgit v0.12