gnu: openssl: Support cross-compilation to the Hurd.

* gnu/packages/tls.scm (openssl)[arguments]: Add `i586' => hurd-x86 platform
setting.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-04-07 07:57:55 +02:00 committed by Jan Nieuwenhuizen
parent 5084fd3854
commit a58f3708b2
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -331,6 +331,8 @@ (define-public openssl
(setenv "CROSS_COMPILE" (string-append target "-"))
(setenv "CONFIGURE_TARGET_ARCH"
(cond
((string-prefix? "i586" target)
"hurd-x86")
((string-prefix? "i686" target)
"linux-x86")
((string-prefix? "x86_64" target)