guix_mirror_bot pushed a commit to branch wip-riscv-bootstrap
in repository guix.

commit d6fd632034f2220332f4e3558945686d80a0f4b9
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Oct 1 22:57:26 2024 +0300

    gnu: tcc-boot0: Specify the build target.
    
    * gnu/packages/commencement.scm (tcc-boot0)[arguments]: Adjust the
    'configure phase to specify the build target.
    
    Change-Id: Ic418a631ed48873771217207d0088573fe2a151a
---
 gnu/packages/commencement.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index a9293f8495..c6485eca2c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -583,6 +583,9 @@ MesCC-Tools), and finally M2-Planet.")
                 (setenv "ONE_SOURCE" "true")
                 (invoke "sh" "configure"
                         "--cc=mescc"
+                        (string-append
+                          "--cpu=" (car (string-split
+                                          #$(commencement-build-target) #\-)))
                         (string-append "--prefix=" out)
                         (string-append "--elfinterp=" interpreter)
                         "--crtprefix=."

Reply via email to