aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-23 16:34:17 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-03-23 16:34:17 +0100
commitce54f5db7d072244c115b4790987b6faca0031b1 (patch)
tree700b5c4146a3d5d1a561a3416aa0a5186f3d32dd
parentcb4805e34c9997edca14743516b9a0fde6303d1c (diff)
downloadpatches-ce54f5db7d072244c115b4790987b6faca0031b1.tar
patches-ce54f5db7d072244c115b4790987b6faca0031b1.tar.gz
gnu: gfortran-5: Move definition before "gfortran".
This is a follow-up to commit cb4805e34c9997edca14743516b9a0fde6303d1c. * gnu/packages/gcc.scm (gfortran-5): Move definition.
-rw-r--r--gnu/packages/gcc.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index eb7a81341c..4ca46242f6 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -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