From ce54f5db7d072244c115b4790987b6faca0031b1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Mar 2017 16:34:17 +0100 Subject: [PATCH] gnu: gfortran-5: Move definition before "gfortran". This is a follow-up to commit cb4805e34c9997edca14743516b9a0fde6303d1c. * gnu/packages/gcc.scm (gfortran-5): Move definition. --- gnu/packages/gcc.scm | 8 ++++---- 1 file 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