summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Configurations/10-main.conf7
-rwxr-xr-xutil/perl/OpenSSL/config.pm1
2 files changed, 8 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 071b1e5abe..ba224fba84 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1095,6 +1095,13 @@ my %targets = (
perlasm_scheme => "linux64le",
},
+ # riscv64 below refers to contemporary RISCV Architecture
+ # specifications,
+ "BSD-riscv64" => {
+ inherit_from => [ "BSD-generic64"],
+ perlasm_scheme => "linux64",
+ },
+
"bsdi-elf-gcc" => {
inherit_from => [ "BASE_unix" ],
CC => "gcc",
diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm
index 50efef423a..fd4cce3c25 100755
--- a/util/perl/OpenSSL/config.pm
+++ b/util/perl/OpenSSL/config.pm
@@ -742,6 +742,7 @@ EOF
[ 'powerpc-.*-.*bsd.*', { target => "BSD-ppc" } ],
[ 'powerpc64-.*-.*bsd.*', { target => "BSD-ppc64" } ],
[ 'powerpc64le-.*-.*bsd.*', { target => "BSD-ppc64le" } ],
+ [ 'riscv64-.*-.*bsd.*', { target => "BSD-riscv64" } ],
[ 'sparc64-.*-.*bsd.*', { target => "BSD-sparc64" } ],
[ 'ia64-.*-.*bsd.*', { target => "BSD-ia64" } ],
[ 'x86_64-.*-dragonfly.*', { target => "BSD-x86_64" } ],