Skip to content

Commit

Permalink
packaging/spec: Upstream "Disable LTO on 32 bits"
Browse files Browse the repository at this point in the history
I.e. https://src.fedoraproject.org/rpms/rpm-ostree/c/f5f08e67231ae0e560b5cc1c844c48b3f7b33cb4

I'd like the spec in this repo to be canonical and the ones in dist-gits
to just be direct imports.
  • Loading branch information
jlebon committed Nov 18, 2022
1 parent a25ded6 commit ebe002e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/rpm-ostree.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ The %{name}-devel package includes the header files for %{name}-libs.

%prep
%autosetup -Sgit -n %{name}-%{version}
%if 0%{?__isa_bits} == 32
sed -ie 's,^lto = true,lto = false,' Cargo.toml
%endif

%build
env NOCONFIGURE=1 ./autogen.sh
Expand Down

0 comments on commit ebe002e

Please sign in to comment.