aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)