Subject: [PATCH 17/23] gnu: cross-gcc: Handle inputs for AVR.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Fri, 29 Sep 2023 11:16:21 +0200

* gnu/packages/cross-base.scm (cross-gcc) <inputs>: Handle inputs for
  AVR.
---
 gnu/packages/cross-base.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index ee90424076..ef793557fc 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -366,6 +366,11 @@ (define* (cross-gcc target
                                   ,@(assoc-ref (%final-inputs)
                                                "libc:static"))))))
            (cond
+            ((target-avr? target)
+             (if libc
+                 `(,@inputs
+                   ("libc" ,libc))
+                 inputs))
             ((target-mingw? target)
              (if libc
                  `(,@inputs
-- 
2.34.1