gnu: avr-gcc: Avoid referencing gcc from the top level.

Fixes <https://issues.guix.gnu.org/65716>.

* gnu/packages/avr.scm (avr-gcc): Do not explicitly refer to 'gcc'.  The
default value of the argument uses the identifier-syntax trick to delay
evaluation of gcc.
This commit is contained in:
Maxim Cournoyer 2023-09-03 22:23:26 -04:00
parent 5a65672857
commit 32792d2073
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -46,7 +46,7 @@ (define-public avr-binutils
(name "avr-binutils"))) (name "avr-binutils")))
(define avr-gcc (define avr-gcc
(let ((xgcc (cross-gcc "avr" #:xgcc gcc #:xbinutils avr-binutils))) (let ((xgcc (cross-gcc "avr" #:xbinutils avr-binutils)))
(package (package
(inherit xgcc) (inherit xgcc)
(name "avr-gcc") (name "avr-gcc")