guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/60: gnu: tcc-boot0: Specify the build target.


From: guix-commits
Subject: 21/60: gnu: tcc-boot0: Specify the build target.
Date: Sun, 24 Nov 2024 02:50:12 -0500 (EST)

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

commit c276c22427afd79616614f0f3d26771da683c6dc
Author: Efraim Flashner <efraim@flashner.co.il>
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 9b52974a3c..33e4c1749d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -558,6 +558,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

[Prev in Thread] Current Thread [Next in Thread]