add sslarch and libdir for riscv64

Signed-off-by: wangjunqiang <wangjunqiang@iscas.ac.cn>
This commit is contained in:
wangjunqiang 2023-02-19 04:26:51 +00:00 committed by laokz
parent 0c36dc4157
commit f1ade5a2bd

View File

@ -2,7 +2,7 @@
Name: openssl
Epoch: 1
Version: 3.0.8
Release: 2
Release: 3
Summary: Cryptography and SSL/TLS Toolkit
License: OpenSSL and SSLeay
URL: https://www.openssl.org/
@ -78,6 +78,10 @@ sslarch=%{_os}-%{_target_cpu}
%ifarch i686
sslarch=linux-elf
%endif
%ifarch riscv64
sslarch=%{_os}64-%{_target_cpu}
sslflags="--libdir=%{_libdir}"
%endif
%ifarch x86_64 aarch64
sslflags=enable-ec_nistp_64_gcc_128
@ -219,6 +223,9 @@ make test || :
%ldconfig_scriptlets libs
%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
- backport SM4 GCM/CCM/XTS implementation
- backport SM3/SM4 optimization