!15 【轻量级 PR】:fix sslarch and libdir for riscv64
From: @laokz Reviewed-by: @hzero1996, @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
a74129c09a
@ -1,7 +1,7 @@
|
||||
%define soversion 1.1
|
||||
Name: compat-openssl11
|
||||
Version: 1.1.1m
|
||||
Release: 7
|
||||
Release: 8
|
||||
Epoch: 1
|
||||
Summary: Cryptography and SSL/TLS Toolkit
|
||||
License: OpenSSL and SSLeay
|
||||
@ -144,9 +144,12 @@ sslarch=%{_os}-%{_target_cpu}
|
||||
%ifarch x86_64 aarch64
|
||||
sslflags=enable-ec_nistp_64_gcc_128
|
||||
%endif
|
||||
%ifarch loongarch64
|
||||
%ifarch loongarch64 riscv64
|
||||
sslflags="--libdir=%{_libdir}"
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
sslarch=%{_os}64-%{_target_cpu}
|
||||
%endif
|
||||
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -DPURIFY $RPM_LD_FLAGS"
|
||||
./Configure \
|
||||
@ -230,6 +233,9 @@ make test || :
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%changelog
|
||||
* Mon Jun 05 2023 laokz <zhangkai@iscas.ac.cn> - 1:1.1.1m-8
|
||||
- fix sslarch and libdir for riscv64
|
||||
|
||||
* Thu May 25 2023 fangxiuning <fangxiuning@huawei.com> - 1:1.1.1m-7
|
||||
- Fix some cves
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user