Accepting request 720535 from devel:libraries:c_c++

Use FAT LTO objects in order to provide proper static library. (forwarded request 720493 from marxin)

OBS-URL: https://build.opensuse.org/request/show/720535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpc?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2019-09-05 10:05:35 +00:00 committed by Git OBS Bridge
commit 76de73ac4c
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 08:15:32 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Wed Jan 17 08:08:52 UTC 2018 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package mpc
#
# 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/
#
@ -20,7 +20,7 @@ Name: mpc
Version: 1.1.0
Release: 0
Summary: MPC multiple-precision complex shared library
License: LGPL-3.0+
License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: http://www.multiprecision.org/mpc/
Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
@ -62,6 +62,7 @@ MPC multiple-precision complex library development files.
%setup -q
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%configure
make %{?_smp_mflags}