From 3a3c432523ecef4d2fd2e22067f32116afb01800ade0b1361e3d1b40c269db6e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 2 Aug 2019 08:37:09 +0000 Subject: [PATCH] Accepting request 720493 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720493 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=40 --- mpc.changes | 5 +++++ mpc.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mpc.changes b/mpc.changes index 7cc2860..cd743c6 100644 --- a/mpc.changes +++ b/mpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:15:32 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Wed Jan 17 08:08:52 UTC 2018 - rguenther@suse.com diff --git a/mpc.spec b/mpc.spec index 8eabb0c..397ff29 100644 --- a/mpc.spec +++ b/mpc.spec @@ -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}