From 6ba481c6ed747de37750e5047b842034cbffd5198785cc812720023a33682733 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Aug 2019 08:28:40 +0000 Subject: [PATCH] Accepting request 720453 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720453 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leveldb?expand=0&rev=24 --- leveldb.changes | 5 +++++ leveldb.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/leveldb.changes b/leveldb.changes index ee2cfcd..32d0e56 100644 --- a/leveldb.changes +++ b/leveldb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 07:04:04 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Fri Aug 11 10:44:05 UTC 2017 - ncutler@suse.com diff --git a/leveldb.spec b/leveldb.spec index 366fc6b..5244b16 100644 --- a/leveldb.spec +++ b/leveldb.spec @@ -1,7 +1,7 @@ # # spec file for package leveldb # -# Copyright (c) 2017 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/ # @@ -69,6 +69,7 @@ This package holds the development files for statically linking leveldb. %patch0 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects make %{?_smp_mflags} OPT="%{optflags}" %install