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'.
This commit is contained in:
Ludovic Courtès 2017-10-27 12:35:49 -07:00
parent 99b9857be7
commit b887ede17d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 6 deletions

View File

@ -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