gnu: gfortran-5: Move definition before "gfortran".

This is a follow-up to commit cb4805e34c.

* gnu/packages/gcc.scm (gfortran-5): Move definition.
This commit is contained in:
Ricardo Wurmus 2017-03-23 16:34:17 +01:00
parent cb4805e34c
commit ce54f5db7d
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -519,6 +519,10 @@ as the 'native-search-paths' field."
(custom-gcc gcc-4.9 "gfortran" '("fortran")
%generic-search-paths))
(define-public gfortran-5
(custom-gcc gcc-5 "gfortran" '("fortran")
%generic-search-paths))
(define-public gfortran
;; Note: Update this when GCC changes! We cannot use
;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@ -526,10 +530,6 @@ as the 'native-search-paths' field."
;; report two gfortran@5 that are in fact identical.
gfortran-5)
(define-public gfortran-5
(custom-gcc gcc-5 "gfortran" '("fortran")
%generic-search-paths))
(define-public gccgo-4.9
(custom-gcc gcc-4.9 "gccgo" '("go")
%generic-search-paths