Revert "gnu: openssl: Don't error when targeting avr."

This reverts commit baeff7f546.
This commit is contained in:
Efraim Flashner 2023-12-12 13:56:57 +02:00
parent 92e2de6fb4
commit c7215819e1
Signed by untrusted user: efraim
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 8 deletions

View File

@ -409,16 +409,12 @@ OpenSSL for TARGET."
;; Keep this code outside the build code,
;; such that new targets can be added
;; without causing rebuilds for other targets.
(cond
((target-mingw? target)
(string-append
(if (target-mingw? target)
(string-append
"mingw"
(if (target-x86-64? target)
"64"
"")))
;; AVR doesn't seem to be supported.
((target-avr? target) #f)
(else
""))
(let ((kernel
(cond ((target-hurd? target)
"hurd")
@ -454,7 +450,7 @@ OpenSSL for TARGET."
"generic64")
(else
(error "unsupported openssl target architecture")))))
(string-append kernel "-" arch)))))
(string-append kernel "-" arch))))
(define-public openssl-1.1
(package