diff --git a/rust.changes b/rust.changes index 51b52bc..6eb1755 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 24 17:39:11 UTC 2019 - Martin Liška + +- Disable LTO (boo#1133283). + ------------------------------------------------------------------- Thu Apr 11 23:32:24 UTC 2019 - Luke Jones diff --git a/rust.spec b/rust.spec index b26ce16..b7242dc 100644 --- a/rust.spec +++ b/rust.spec @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -370,6 +370,7 @@ sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/pr chmod +x src/libcore/unicode/printable.py %build +%define _lto_cflags %{nil} %configure \ --disable-option-checking \ --build=%{rust_triple} --host=%{rust_triple} --target=%{rust_triple} \ @@ -582,4 +583,4 @@ rm -rf %{buildroot}%{_sysconfdir} %dir %{_docdir}/cargo %{_docdir}/cargo/html -%changelog \ No newline at end of file +%changelog