Pass -fPIC to ocamlopt (needed on riscv64).

This commit is contained in:
Richard W.M. Jones 2019-11-15 12:16:20 +00:00
parent 95dbcbc8a1
commit c5d1127c08

View File

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