Re-enable LTO
This commit is contained in:
parent
8efa6f4d09
commit
f92bb2f31c
11
rust.spec
11
rust.spec
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
Name: rust
|
Name: rust
|
||||||
Version: 1.47.0
|
Version: 1.47.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The Rust Programming Language
|
Summary: The Rust Programming Language
|
||||||
License: (ASL 2.0 or MIT) and (BSD and MIT)
|
License: (ASL 2.0 or MIT) and (BSD and MIT)
|
||||||
# ^ written as: (rust itself) and (bundled libraries)
|
# ^ written as: (rust itself) and (bundled libraries)
|
||||||
@ -493,12 +493,6 @@ find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' '+'
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This package fails to build with LTO due to undefined symbols. LTO
|
|
||||||
# was disabled in OpenSuSE as well, but with no real explanation why
|
|
||||||
# beyond the undefined symbols. It really should be investigated further.
|
|
||||||
# Disable LTO
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
|
|
||||||
export %{rust_env}
|
export %{rust_env}
|
||||||
|
|
||||||
# We're going to override --libdir when configuring to get rustlib into a
|
# We're going to override --libdir when configuring to get rustlib into a
|
||||||
@ -742,6 +736,9 @@ export %{rust_env}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 10 2020 Jeff Law <law@redhat.com> - 1.47.0-2
|
||||||
|
- Re-enable LTO
|
||||||
|
|
||||||
* Thu Oct 08 2020 Josh Stone <jistone@redhat.com> - 1.47.0-1
|
* Thu Oct 08 2020 Josh Stone <jistone@redhat.com> - 1.47.0-1
|
||||||
- Update to 1.47.0.
|
- Update to 1.47.0.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user