Disable LTO on 32 bit
https://github.com/coreos/rpm-ostree/pull/2923 https://bugzilla.redhat.com/show_bug.cgi?id=1974927
This commit is contained in:
parent
1d207b42f0
commit
f5f08e6723
@ -133,6 +133,11 @@ The %{name}-devel package includes the header files for %{name}-libs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n %{name}-%{version}
|
%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
|
%build
|
||||||
env NOCONFIGURE=1 ./autogen.sh
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user