mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: cross-gcc-toolchain: Use fixed name.
* gnu/packages/cross-base.scm (cross-gcc-toolchain) <name>: Always use gcc-cross- prefix regardless of TARGET having a C standard library or not. Change-Id: I5cbe89c61e5bd324a385db17c27131ea5ef75669
This commit is contained in:
parent
2a43692aa7
commit
82aef470ce
1 changed files with 3 additions and 1 deletions
|
@ -745,7 +745,9 @@ (define* (cross-gcc-toolchain/implementation target
|
||||||
"Returns PACKAGE that contains a cross-compilation tool chain for TARGET
|
"Returns PACKAGE that contains a cross-compilation tool chain for TARGET
|
||||||
with XBINUTILS, XGCC and LIBC (if exists for TARGET)."
|
with XBINUTILS, XGCC and LIBC (if exists for TARGET)."
|
||||||
(package
|
(package
|
||||||
(name (string-append (package-name xgcc) "-toolchain"))
|
;; Using PACKAGE-NAME of XGCC is avoided here as there are platforms that
|
||||||
|
;; still need a toolchain but don't have a libc (e.g. or1k-elf).
|
||||||
|
(name (string-append "gcc-cross-" target "-toolchain"))
|
||||||
(version (package-version xgcc))
|
(version (package-version xgcc))
|
||||||
(source #f)
|
(source #f)
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
|
|
Loading…
Reference in a new issue