From fe25289ccf68cf3021efcc7ac2529f8b9974aa2989ad3b29d14d9384b3e11737 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Aug 2019 18:40:45 +0000 Subject: [PATCH] Accepting request 720436 from home:marxin:static Use FAT LTO objects in order to provide proper static library OBS-URL: https://build.opensuse.org/request/show/720436 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libzio?expand=0&rev=41 --- libzio.changes | 5 +++++ libzio.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libzio.changes b/libzio.changes index 198ef1f..d062815 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 06:50:26 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library + ------------------------------------------------------------------- Thu Feb 22 15:10:40 UTC 2018 - fvogt@suse.com diff --git a/libzio.spec b/libzio.spec index b2cac45..96ea995 100644 --- a/libzio.spec +++ b/libzio.spec @@ -1,7 +1,7 @@ # # spec file for package libzio # -# 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/ # @@ -21,7 +21,7 @@ Name: libzio Version: 1.06 Release: 0 Summary: A Library for Accessing Compressed Text Files -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Libraries Url: http://libzio.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2 @@ -59,6 +59,7 @@ and static library. %setup -q %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects make %{?_smp_mflags} noweak %check