Accepting request 914379 from KDE:Applications

- Disable lto for ppc64 builds.

  * https://kde.org/announcements/gear/21.08.0

OBS-URL: https://build.opensuse.org/request/show/914379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2021-08-26 21:15:12 +00:00 committed by Git OBS Bridge
commit 99e6c2ddea
2 changed files with 10 additions and 1 deletions

View File

@ -1,10 +1,15 @@
-------------------------------------------------------------------
Thu Aug 26 09:02:34 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Disable lto for ppc64 builds.
-------------------------------------------------------------------
Fri Aug 6 09:42:21 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 21.08.0
* New feature release
* For more details please see:
* https://kde.org/announcements/gear/21.08/
* https://kde.org/announcements/gear/21.08.0
- No code change since 21.07.90
-------------------------------------------------------------------

View File

@ -87,6 +87,10 @@ libktorrent is a torrent downloading library.
sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%build
%ifarch ppc64
%define _lto_cflags %{nil}
%endif
%cmake_kf5 -d build
%cmake_build