Accepting request 720476 from home:marxin:static

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

OBS-URL: https://build.opensuse.org/request/show/720476
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtool?expand=0&rev=82
This commit is contained in:
Dirk Mueller 2019-08-02 08:26:28 +00:00 committed by Git OBS Bridge
parent 8e39ce6c43
commit b600045974
3 changed files with 11 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package libtool-testsuite
#
# 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/
#
@ -70,6 +70,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
%patch0 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
./configure CFLAGS="%{optflags}" \
--prefix=%{_prefix} --infodir=%{_infodir} --libdir=%{_libdir}
# force rebuild with non-broken makeinfo

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 07:59:41 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Sat Dec 8 17:55:47 UTC 2018 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libtool
#
# 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/
#
@ -70,6 +70,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
%patch0 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
./configure CFLAGS="%{optflags}" \
--prefix=%{_prefix} --infodir=%{_infodir} --libdir=%{_libdir}
# force rebuild with non-broken makeinfo