mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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:
parent
99b9857be7
commit
b887ede17d
1 changed files with 9 additions and 6 deletions
|
@ -959,7 +959,7 @@ (define-public canonical-package
|
||||||
;;; GCC toolchain.
|
;;; GCC toolchain.
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
(define (gcc-toolchain gcc)
|
(define (make-gcc-toolchain gcc)
|
||||||
"Return a complete toolchain for GCC."
|
"Return a complete toolchain for GCC."
|
||||||
(package
|
(package
|
||||||
(name "gcc-toolchain")
|
(name "gcc-toolchain")
|
||||||
|
@ -1005,18 +1005,21 @@ (define (gcc-toolchain gcc)
|
||||||
("libc-debug" ,glibc-final "debug")))))
|
("libc-debug" ,glibc-final "debug")))))
|
||||||
|
|
||||||
(define-public gcc-toolchain-4.8
|
(define-public gcc-toolchain-4.8
|
||||||
(gcc-toolchain gcc-4.8))
|
(make-gcc-toolchain gcc-4.8))
|
||||||
|
|
||||||
(define-public gcc-toolchain-4.9
|
(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
|
(define-public gcc-toolchain-5
|
||||||
(gcc-toolchain gcc-final))
|
gcc-toolchain)
|
||||||
|
|
||||||
(define-public gcc-toolchain-6
|
(define-public gcc-toolchain-6
|
||||||
(gcc-toolchain gcc-6))
|
(make-gcc-toolchain gcc-6))
|
||||||
|
|
||||||
(define-public gcc-toolchain-7
|
(define-public gcc-toolchain-7
|
||||||
(gcc-toolchain gcc-7))
|
(make-gcc-toolchain gcc-7))
|
||||||
|
|
||||||
;;; commencement.scm ends here
|
;;; commencement.scm ends here
|
||||||
|
|
Loading…
Reference in a new issue