guix_mirror_bot pushed a commit to branch wip-riscv-bootstrap in repository guix.
commit 4fe6ae720d24208b0cfa7714eda0b8d06da8b109 Author: Efraim Flashner <[email protected]> AuthorDate: Tue Oct 1 08:16:16 2024 +0300 gnu: gcc-mesboot0: Use commencement-build-target. * gnu/packages/commencement.scm (gcc-mesboot0)[arguments]: Adjust the configure-flags and 'install2 phase to use commencement-build-target. Change-Id: Icbd301bb6e1bb003940c1a9fef7d02fdc725a283 --- gnu/packages/commencement.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 76c90a64de..78ae65edba 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1205,7 +1205,8 @@ ac_cv_c_float_format='IEEE (little-endian)' (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (gcc-dir (string-append - out "/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3"))) + out "/lib/gcc-lib/" #$(commencement-build-target) + "/2.95.3"))) (and (mkdir-p "tmp") (zero? (system (string-append "set -x; cd tmp && ar x ../gcc/libgcc2.a"))) @@ -1215,8 +1216,8 @@ ac_cv_c_float_format='IEEE (little-endian)' #~(let ((out (assoc-ref %outputs "out"))) `("--disable-shared" "--disable-werror" - "--build=i686-unknown-linux-gnu" - "--host=i686-unknown-linux-gnu" + ,(string-append "--build=" #$(commencement-build-target)) + ,(string-append "--host=" #$(commencement-build-target)) ,(string-append "--prefix=" out)))) ((#:make-flags make-flags) #~(let ((gcc (assoc-ref %build-inputs "gcc")))
