From 46abb5212e4247ab19f2e17a49ed4baf5ba3f67d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Dec 2024 14:09:20 +0200 Subject: 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 --- gnu/packages/rust.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/rust.scm') 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 @@ (define make-rust-sysroot/implementation (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) -- cgit v1.2.3