aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-05 14:09:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-12-05 14:09:20 +0200
commit46abb5212e4247ab19f2e17a49ed4baf5ba3f67d (patch)
tree7a317f926a1a9c95fd6579121d94bd964b1b0443 /gnu
parentd3c929a4bd58d073bf4f83bf2aff2f8db92b33dd (diff)
downloadguix-46abb5212e4247ab19f2e17a49ed4baf5ba3f67d.tar
guix-46abb5212e4247ab19f2e17a49ed4baf5ba3f67d.tar.gz
gnu: make-rust-sysroot: Adjust for newer cross-gcc.
* gnu/packages/rust.scm (make-rust-sysroot/implementation) [native-inputs]: Add gcc-14. Change-Id: If9bc74bfe2e236accc39dc09e03b28dee62e332d
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 594dc7e715..1be020a6bf 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1615,6 +1615,9 @@ ar = \"" (search-input-file inputs (string-append "/bin/" #$(ar-for-target targe
(package-propagated-inputs base-rust)))
(native-inputs
(modify-inputs (package-native-inputs base-rust)
+ ;; Build with the same version as the cross-gcc version.
+ ;; TODO: Remove this when gcc and %xgcc are the same version again.
+ (prepend gcc-14)
(prepend (cross-gcc target
#:libc (cross-libc target)))
(prepend (if (target-mingw? target)