!206 修复riscv64上的构建

From: @laokz 
Reviewed-by: @zcfsite 
Signed-off-by: @zcfsite
This commit is contained in:
openeuler-ci-bot 2023-03-23 12:17:23 +00:00 committed by Gitee
commit bd476ca123
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: openssl Name: openssl
Epoch: 1 Epoch: 1
Version: 3.0.8 Version: 3.0.8
Release: 2 Release: 3
Summary: Cryptography and SSL/TLS Toolkit Summary: Cryptography and SSL/TLS Toolkit
License: OpenSSL and SSLeay License: OpenSSL and SSLeay
URL: https://www.openssl.org/ URL: https://www.openssl.org/
@ -78,6 +78,10 @@ sslarch=%{_os}-%{_target_cpu}
%ifarch i686 %ifarch i686
sslarch=linux-elf sslarch=linux-elf
%endif %endif
%ifarch riscv64
sslarch=%{_os}64-%{_target_cpu}
sslflags="--libdir=%{_libdir}"
%endif
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
sslflags=enable-ec_nistp_64_gcc_128 sslflags=enable-ec_nistp_64_gcc_128
@ -219,6 +223,9 @@ make test || :
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
%changelog %changelog
* Fri Mar 17 2023 wangjunqiang <wangjunqiang@iscas.ac.cn> - 1:3.0.8-3
- fix sslarch and libdir for riscv64
* Thu Mar 16 2023 Xu Yizhou <xuyizhou1@huawei.com> - 1:3.0.8-2 * Thu Mar 16 2023 Xu Yizhou <xuyizhou1@huawei.com> - 1:3.0.8-2
- backport SM4 GCM/CCM/XTS implementation - backport SM4 GCM/CCM/XTS implementation
- backport SM3/SM4 optimization - backport SM3/SM4 optimization