From cb4805e34c9997edca14743516b9a0fde6303d1c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Mar 2017 15:37:24 +0100 Subject: [PATCH] gnu: gfortran: Change default version to gfortran-5. * gnu/packages/gcc.scm (gfortran): Point to gfortran-5. --- gnu/packages/gcc.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 9376679f14..eb7a81341c 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -401,7 +401,8 @@ (define-public gcc-6 "gcc-5.0-libvtv-runpath.patch")))))) ;; Note: When changing the default gcc version, update -;; the gcc-toolchain-* definitions accordingly. +;; the gcc-toolchain-* definitions and the gfortran definition +;; accordingly. (define-public gcc gcc-5) (define-public (make-libstdc++ gcc) @@ -521,9 +522,9 @@ (define-public gfortran-4.9 (define-public gfortran ;; Note: Update this when GCC changes! We cannot use ;; (custom-gcc gcc "fortran" …) because that would lead to a package object - ;; that is not 'eq?' with GFORTRAN-4.9, and thus 'fold-packages' would - ;; report two gfortran@4.9 that are in fact identical. - gfortran-4.9) + ;; that is not 'eq?' with GFORTRAN-5, and thus 'fold-packages' would + ;; report two gfortran@5 that are in fact identical. + gfortran-5) (define-public gfortran-5 (custom-gcc gcc-5 "gfortran" '("fortran")