From 52e9126a58dd7d9f5841fedbe6a5df57d63ba096f522c01f0957947d8cf88eed Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Fri, 1 Nov 2019 11:53:36 +0000 Subject: [PATCH] Accepting request 744741 from home:marxin:branches:multimedia:libs - Disable LTO (boo#1155011) for ARM targets. OBS-URL: https://build.opensuse.org/request/show/744741 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soxr?expand=0&rev=13 --- soxr.changes | 5 +++++ soxr.spec | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/soxr.changes b/soxr.changes index a4d54d4..80778a2 100644 --- a/soxr.changes +++ b/soxr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 11:45:29 UTC 2019 - Martin Liška + +- Disable LTO (boo#1155011) for ARM targets. + ------------------------------------------------------------------- Tue Mar 13 06:24:29 UTC 2018 - davejplater@gmail.com diff --git a/soxr.spec b/soxr.spec index 083cf06..87d1c6f 100644 --- a/soxr.spec +++ b/soxr.spec @@ -1,7 +1,7 @@ # # spec file for package soxr # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,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/ # @@ -22,7 +22,7 @@ Name: soxr Version: 0.1.3 Release: 0 Summary: The SoX Resampler library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries Url: http://soxr.sourceforge.net/ Source: http://downloads.sf.net/%{name}/%{name}-%{version}-Source.tar.xz#/%{name}-%{version}.tar.xz @@ -68,6 +68,11 @@ application which will use libsoxr/libsoxr-lsr. %setup -q -n %{name}-%{version}-Source %build + +%ifarch %arm +%define _lto_cflags %{nil} +%endif + %cmake \ -DDOC_INSTALL_DIR=%{_docdir}/%{name} make %{?_smp_mflags}