aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-04-07 07:57:55 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2020-04-11 21:29:29 +0200
commita58f3708b278941b134bb2a5229f127faad709ee (patch)
treeb8c657d38ccda7b0078628b371b0eb8777e8680a
parent5084fd38541a5fc233f3299e10a33c3a38a7173f (diff)
downloadpatches-a58f3708b278941b134bb2a5229f127faad709ee.tar
patches-a58f3708b278941b134bb2a5229f127faad709ee.tar.gz
gnu: openssl: Support cross-compilation to the Hurd.
* gnu/packages/tls.scm (openssl)[arguments]: Add `i586' => hurd-x86 platform setting.
-rw-r--r--gnu/packages/tls.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index eea3b12185..2b1deb1000 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -331,6 +331,8 @@ required structures.")
(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)