summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-12 13:56:57 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-12 13:58:16 +0200
commitc7215819e110d915752f8d36660578784458a80f (patch)
tree7d73a56c93624a7a8d51aa257e89ac6a82f3e22a /gnu/packages
parent92e2de6fb400ff445106f2d7a4f5f5b1a009c87b (diff)
Revert "gnu: openssl: Don't error when targeting avr."
This reverts commit baeff7f546d700ae4f0c873bd0fce0ca84bebd21.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tls.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 0c562a696f..75e6370c72 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -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