aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-10-27 12:35:49 -0700
committerLudovic Courtès <ludo@gnu.org>2017-10-27 12:35:49 -0700
commitb887ede17d6ce520d5f500c39dce98cd8fc4a8a2 (patch)
tree59b8c12f5b6098717fb7495126ea1ac21247006f /gnu
parent99b9857be7bfe186841c59a7a0062f3021b7ecfc (diff)
downloadguix-b887ede17d6ce520d5f500c39dce98cd8fc4a8a2.tar
guix-b887ede17d6ce520d5f500c39dce98cd8fc4a8a2.tar.gz
gnu: gcc: Add unversioned 'gcc-toolchain' variable.
Reported by Theodoros Foradis <theodoros@foradis.org>. * gnu/packages/commencement.scm (gcc-toolchain): Rename to... (make-gcc-toolchain): ... this. (gcc-toolchain): New variable. (gcc-toolchain-5): Turn into an alias for 'gcc-toolchain'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ec7677814f..406a23b21c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -959,7 +959,7 @@ COREUTILS-FINAL vs. COREUTILS, etc."
;;; GCC toolchain.
;;;
-(define (gcc-toolchain gcc)
+(define (make-gcc-toolchain gcc)
"Return a complete toolchain for GCC."
(package
(name "gcc-toolchain")
@@ -1005,18 +1005,21 @@ and binaries, plus debugging symbols in the 'debug' output), and Binutils.")
("libc-debug" ,glibc-final "debug")))))
(define-public gcc-toolchain-4.8
- (gcc-toolchain gcc-4.8))
+ (make-gcc-toolchain gcc-4.8))
(define-public gcc-toolchain-4.9
- (gcc-toolchain gcc-4.9))
+ (make-gcc-toolchain gcc-4.9))
+
+(define-public gcc-toolchain
+ (make-gcc-toolchain gcc-final))
(define-public gcc-toolchain-5
- (gcc-toolchain gcc-final))
+ gcc-toolchain)
(define-public gcc-toolchain-6
- (gcc-toolchain gcc-6))
+ (make-gcc-toolchain gcc-6))
(define-public gcc-toolchain-7
- (gcc-toolchain gcc-7))
+ (make-gcc-toolchain gcc-7))
;;; commencement.scm ends here