efraim pushed a commit to branch wip-riscv-bootstrap in repository guix. commit 69f6ed0bda94b494da113d81e614d02bc7d5b41b Author: Efraim Flashner <efr...@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 3a5bd527a5..808ef15bf6 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=."