Subject: [bug#50091] [PATCH 06/21] gnu: %final-inputs: Add implied gcc:lib input.

From: Efraim Flashner <[email-masked]>
Date: Tue, 17 Aug 2021 13:19:04 +0300

* gnu/packages/commencement.scm (%final-inputs): Add gcc:lib.
---
 gnu/packages/commencement.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index e2339170e5..b717604a9c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3726,6 +3726,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
       ("ld-wrapper" ,ld-wrapper)
       ("binutils" ,binutils-final)
       ("gcc" ,gcc-final)
+      ,@(if (target-riscv?)
+          `(("gcc:lib" ,gcc-final "lib"))
+          '())
       ("libc" ,glibc-final)
       ("libc:static" ,glibc-final "static")
       ("locales" ,glibc-utf8-locales-final))))
-- 
2.32.0