Accepting request 720477 from home:marxin:static

Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720477
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libyajl?expand=0&rev=36
This commit is contained in:
Dirk Mueller 2019-08-02 08:27:46 +00:00 committed by Git OBS Bridge
parent e3c3f9f43a
commit 72845dcf41
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 08:00:08 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Mon Mar 25 16:58:41 UTC 2019 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libyajl
#
# 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/
#
@ -91,6 +91,7 @@ This package provides a few command-line utilities for processing JSON files.
%autosetup -p1 -n yajl-%{version}
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%cmake
%cmake_build