summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-05-25 10:57:07 -0400
committerMike Gilbert <floppym@gentoo.org>2023-05-25 10:58:42 -0400
commit08dbfd4976e7cf1eb03ea520327769a96e877c4d (patch)
tree60f460c13cf4def05ebe1ca2f302f62fc11a1add
parentwww-client/opera-developer: remove old (diff)
downloadgentoo-08dbfd4976e7cf1eb03ea520327769a96e877c4d.tar.gz
gentoo-08dbfd4976e7cf1eb03ea520327769a96e877c4d.tar.bz2
gentoo-08dbfd4976e7cf1eb03ea520327769a96e877c4d.zip
dev-libs/openssl: add support for big-endian RISC-V
Closes: https://bugs.gentoo.org/904751 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--dev-libs/openssl/files/gentoo.config-1.0.44
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/openssl/files/gentoo.config-1.0.4 b/dev-libs/openssl/files/gentoo.config-1.0.4
index 79f6331f090c..ef1c6f1768a1 100644
--- a/dev-libs/openssl/files/gentoo.config-1.0.4
+++ b/dev-libs/openssl/files/gentoo.config-1.0.4
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# Openssl doesn't play along nicely with cross-compiling
@@ -111,7 +111,9 @@ linux)
powerpc64*) machine=ppc64;;
powerpc*le*) machine="generic32 -DL_ENDIAN";;
powerpc*) machine=ppc;;
+ riscv32be*) machine="generic32 -DB_ENDIAN";;
riscv32*) machine="generic32 -DL_ENDIAN";;
+ riscv64be*) machine="riscv64 -DB_ENDIAN" system=linux64;;
riscv64*) machine="riscv64 -DL_ENDIAN" system=linux64;;
# sh64*) machine=elf;;
sh*b*) machine="generic32 -DB_ENDIAN";;