aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-07-27 07:23:40 +0000
committerEfraim Flashner <efraim@flashner.co.il>2022-01-14 11:41:18 +0200
commited2ca2dcb558dcda6ea69c64a0a9e9c0b52f892e (patch)
treef5fe63d8d654484818d2c0c3c673f7ec8a1f0501
parentef9ecd4fd35165475c2d8272862e347aece12768 (diff)
downloadguix-ed2ca2dcb558dcda6ea69c64a0a9e9c0b52f892e.tar.gz
guix-ed2ca2dcb558dcda6ea69c64a0a9e9c0b52f892e.zip
gnu: %boot3-inputs: Add missing input.
* gnu/packages/commencement.scm (%boot3-inputs): When building on riscv64-linux add gcc:lib.
-rw-r--r--gnu/packages/commencement.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 051b9cb66c..26769d2626 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3578,6 +3578,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(define (%boot3-inputs)
;; 4th stage inputs.
`(("gcc" ,gcc-final)
+ ,@(if (target-riscv64?)
+ `(("gcc:lib" ,gcc-final "lib"))
+ '())
("ld-wrapper" ,ld-wrapper-boot3)
,@(alist-delete "gcc" (%boot2-inputs))))