Accepting request 697630 from home:marxin:branches:devel:languages:rust

- Disable LTO (boo#1133283).

OBS-URL: https://build.opensuse.org/request/show/697630
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=215
This commit is contained in:
Luke Jones 2019-05-01 08:01:31 +00:00 committed by Git OBS Bridge
parent 8439266da0
commit f1957779fd
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 24 17:39:11 UTC 2019 - Martin Liška <mliska@suse.cz>
- Disable LTO (boo#1133283).
-------------------------------------------------------------------
Thu Apr 11 23:32:24 UTC 2019 - Luke Jones <jones_ld@protonmail.com>

View File

@ -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
%changelog