Skip to content

Commit 25db683

Browse files
committed
Fix gfortran 9 build
1 parent 1b0b276 commit 25db683

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Tools/travis-linux-install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ case "$SWIGLANG" in
2727
travis_retry sudo dpkg -i dmd_2.066.0-0_amd64.deb
2828
;;
2929
"fortran")
30-
case "$CC" in
31-
"gcc") export FC=gfortran ;;
32-
"gcc-5") export FC=gfortran-5 ;;
33-
"gcc-6") export FC=gfortran-6 ;;
34-
"gcc-7") export FC=gfortran-7 ;;
35-
"gcc-8") export FC=gfortran-8 ;;
30+
case "$GCC" in
31+
"") export FC=gfortran ;;
32+
"6") export FC=gfortran-6 ;;
33+
"7") export FC=gfortran-7 ;;
34+
"8") export FC=gfortran-8 ;;
35+
"9") export FC=gfortran-9 ;;
3636
esac
3737
travis_retry sudo apt-get install -qq $FC
3838
;;

0 commit comments

Comments
 (0)