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 @@ (define (target->openssl-target 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 @@ (define (target->openssl-target target) "generic64") (else (error "unsupported openssl target architecture"))))) - (string-append kernel "-" arch))))) + (string-append kernel "-" arch)))) (define-public openssl-1.1 (package