From dd97f4fc46839b7076cae7981477fe80ceaa203d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 23 Jun 2021 13:51:07 -0400 Subject: [PATCH] Disable LTO on 32 bit https://github.com/coreos/rpm-ostree/pull/2923 https://bugzilla.redhat.com/show_bug.cgi?id=1974927 --- rpm-ostree.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 4937524..25d63e5 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -135,7 +135,7 @@ The %{name}-devel package includes the header files for %{name}-libs. %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 +%if 0%{?__isa_bits} == 32 sed -ie 's,^lto = true,# disabled: lto = true,' Cargo.toml %endif