aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJean-Pierre De Jesus DIAZ <jean@foundationdevices.com>2024-01-19 14:54:41 +0100
committerMathieu Othacehe <othacehe@gnu.org>2024-01-22 11:26:56 +0100
commit82aef470ce816f34bda89cee50f57639192e4261 (patch)
treefef9be6ac5e2e6ba3918e9af460594c68d91a20e /gnu
parent2a43692aa74a4428b908fd4e11b239c9eb2f6542 (diff)
downloadguix-82aef470ce816f34bda89cee50f57639192e4261.tar.gz
guix-82aef470ce816f34bda89cee50f57639192e4261.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cross-base.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 6ee7b315d8..2d79e0acf6 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -745,7 +745,9 @@ returned."
"Returns PACKAGE that contains a cross-compilation tool chain for TARGET
with XBINUTILS, XGCC and LIBC (if exists for TARGET)."
(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))
(source #f)
(build-system trivial-build-system)