Revert "Pass -fPIC to ocamlopt on riscv64 only."

Revert "Pass -fPIC to ocamlopt (needed on riscv64)."

This reverts commit ec08d81b14.
This reverts commit c5d1127c08.
This commit is contained in:
Richard W.M. Jones 2019-11-15 13:37:40 +00:00
parent ec08d81b14
commit 5adc89253f
1 changed files with 3 additions and 7 deletions

View File

@ -23,7 +23,7 @@
Name: nbdkit
Version: 1.16.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: NBD server
License: BSD
@ -562,9 +562,6 @@ autoreconf -i
%build
%configure \
%ifarch riscv64
OCAMLOPTFLAGS="-fPIC" \
%endif
PYTHON=%{_bindir}/python3 \
--disable-static \
%if 0%{?have_libguestfs}
@ -893,9 +890,8 @@ make %{?_smp_mflags} check || {
%changelog
* Fri Nov 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-3
- Pass -fPIC to ocamlopt on riscv64 only.
Probably a workaround for broken OCaml codegen on riscv64.
* Fri Nov 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-4
- Rebuild.
* Fri Nov 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-2
- Enable libvirt plugin on all architectures.