From 5adc89253f467c53295edb1f356fc3aa87cf4875 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 15 Nov 2019 13:37:40 +0000 Subject: [PATCH] Revert "Pass -fPIC to ocamlopt on riscv64 only." Revert "Pass -fPIC to ocamlopt (needed on riscv64)." This reverts commit ec08d81b1412e6c65e3ef3bc29b6c34532f293eb. This reverts commit c5d1127c08ab841e8edb7a308e7b8b500de0cdbd. --- nbdkit.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/nbdkit.spec b/nbdkit.spec index f5c0230..c04f96a 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -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 - 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 - 1.16.0-4 +- Rebuild. * Fri Nov 15 2019 Richard W.M. Jones - 1.16.0-2 - Enable libvirt plugin on all architectures.