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
f5f08e6723
commit
dd97f4fc46
@ -135,7 +135,7 @@ The %{name}-devel package includes the header files for %{name}-libs.
|
|||||||
%autosetup -Sgit -n %{name}-%{version}
|
%autosetup -Sgit -n %{name}-%{version}
|
||||||
# We hit "LLVM ERROR: out of memory" with LTO on 32 bit
|
# We hit "LLVM ERROR: out of memory" with LTO on 32 bit
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1974927
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1974927
|
||||||
%if %{__isa_bits} == 32
|
%if 0%{?__isa_bits} == 32
|
||||||
sed -ie 's,^lto = true,# disabled: lto = true,' Cargo.toml
|
sed -ie 's,^lto = true,# disabled: lto = true,' Cargo.toml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user