aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Pierre De Jesus DIAZ <jean@foundationdevices.com>2023-11-28 12:34:53 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-12-11 13:36:24 +0200
commit58490a93110a1febacffca559892a8d1e85917fe (patch)
tree542782acf7d3faad0004b6660f8929703442db95
parentdfc1701724186acf6fcfa9fc26ffa1e67b74c988 (diff)
downloadguix-58490a93110a1febacffca559892a8d1e85917fe.tar.gz
guix-58490a93110a1febacffca559892a8d1e85917fe.zip
gnu: cross-gcc: Handle AVR inputs.
* gnu/packages/cross-base.scm (cross-gcc)[native-inputs]: Add case to handle AVR. Change-Id: I1ac38b721ed807302747cecb5fb1f6075694a01a Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/cross-base.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 264c8c7e15..7f67aaed89 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -355,6 +355,9 @@ target that libc."
("libc" ,libc))
`(,@inputs
("mingw-source" ,(package-source mingw-w64)))))
+ ((and libc (target-avr? target))
+ `(,@inputs
+ ("libc" ,libc)))
(libc
`(,@inputs
("libc" ,libc)