Add --libdir=%{_lib} for riscv64

We need this because there is no riscv64 specific configuration which
would set multilib to 64. It should be easy to write one and send to
the upstream.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-12-01 15:27:49 +02:00
parent 3413ff9700
commit d4908a5fbf
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,7 @@
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 1.1.1h
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Epoch: 1
# We have to remove certain patented algorithms from the openssl source
# tarball with the hobble-openssl script which is included below.
@ -261,6 +261,9 @@ export HASHBANGPERL=/usr/bin/perl
# RPM_OPT_FLAGS, so we can skip specifiying them here.
./Configure \
--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
%ifarch riscv64
--libdir=%{_lib} \
%endif
--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \
enable-cms enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method \
@ -473,6 +476,9 @@ export LD_LIBRARY_PATH
%ldconfig_scriptlets libs
%changelog
* Tue Dec 1 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.1.1h-1.0.riscv64
- Add --libdir=%{_lib} for riscv64 (uses linux-generic64)
* Mon Nov 9 2020 Sahana Prasad <sahana@redhat.com> - 1.1.1h-1
- Upgrade to version 1.1.1.h