summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-21 22:05:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-21 22:05:44 +0200
commitc8535c252776ce7da3310c549d211df74f30559b (patch)
treeab3099660cfcabbacc6675175c5b9941a1203424
parentcf53ea79dda20c9ea90e3ca84bf7fdfd80b52e7d (diff)
gnu: openssl: Fix cross compiling for powerpc targets.
* gnu/packages/tls.scm (openssl)[arguments]: Add cross compile target cases for powerpc64le-linux, powerpc64-linux and powerpc-linux.
-rw-r--r--gnu/packages/tls.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index c4420978b8..00b0bf6ddb 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -352,7 +352,13 @@ required structures.")
((string-prefix? "arm" target)
"linux-armv4")
((string-prefix? "aarch64" target)
- "linux-aarch64")))
+ "linux-aarch64")
+ ((string-prefix? "powerpc64le" target)
+ "linux-ppc64le")
+ ((string-prefix? "powerpc64" target)
+ "linux-ppc64")
+ ((string-prefix? "powerpc" target)
+ "linux-ppc")))
#t)))
'())
(replace 'configure