Accepting request 698197 from home:marxin:branches:Base:System

- Use FAT LTO objects in order to provide proper static library (boo#1133259).

OBS-URL: https://build.opensuse.org/request/show/698197
OBS-URL: https://build.opensuse.org/package/show/Base:System/lzo?expand=0&rev=38
This commit is contained in:
Richard Biener 2019-04-26 11:37:49 +00:00 committed by Git OBS Bridge
parent 1aecb36798
commit 8a27e75853
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 26 11:29:00 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library (boo#1133259).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 8 15:12:37 UTC 2018 - jengelh@inai.de Wed Aug 8 15:12:37 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package lzo # spec file for package lzo
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@ -74,6 +74,7 @@ compression ratio.
%setup -q %setup -q
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags} -fvisibility=hidden" export CFLAGS="%{optflags} -fvisibility=hidden"
%configure --enable-shared \ %configure --enable-shared \
--enable-static \ --enable-static \