Colin Walters 2021-06-23 13:51:07 -04:00
parent 1d207b42f0
commit f5f08e6723

View File

@ -133,6 +133,11 @@ The %{name}-devel package includes the header files for %{name}-libs.
%prep
%autosetup -Sgit -n %{name}-%{version}
# We hit "LLVM ERROR: out of memory" with LTO on 32 bit
# https://bugzilla.redhat.com/show_bug.cgi?id=1974927
%if %{__isa_bits} == 32
sed -ie 's,^lto = true,# disabled: lto = true,' Cargo.toml
%endif
%build
env NOCONFIGURE=1 ./autogen.sh