commit:     08dbfd4976e7cf1eb03ea520327769a96e877c4d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 14:57:07 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu May 25 14:58:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dbfd49

dev-libs/openssl: add support for big-endian RISC-V

Closes: https://bugs.gentoo.org/904751
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-libs/openssl/files/gentoo.config-1.0.4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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";;

Reply via email to