SHA256
6
0
forked from pool/libstfl

Accepting request 729967 from home:cgiboudeaux:fat-lto-objects

- Use -ffat-lto-objects when building static libraries.

OBS-URL: https://build.opensuse.org/request/show/729967
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=19
This commit is contained in:
Marcus Meissner 2019-09-15 07:05:23 +00:00 committed by Git OBS Bridge
parent d436a1db48
commit 109af37e1d
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 20:31:49 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects when building static libraries.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 20 13:31:43 UTC 2018 - jengelh@inai.de Tue Feb 20 13:31:43 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libstfl # spec file for package libstfl
# #
# 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/
# #
@ -21,9 +21,9 @@ Name: libstfl
Version: 0.24 Version: 0.24
Release: 0 Release: 0
Summary: Structured Terminal Forms Library Summary: Structured Terminal Forms Library
License: LGPL-3.0+ License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.clifford.at/stfl/ URL: http://www.clifford.at/stfl/
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
Source99: libstfl-rpmlintrc Source99: libstfl-rpmlintrc
Patch1: stfl-optflags.patch Patch1: stfl-optflags.patch
@ -67,6 +67,7 @@ describe STFL GUIs.
%patch2 %patch2
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
make %{?_smp_mflags} \ make %{?_smp_mflags} \
CC="gcc" \ CC="gcc" \
OPTFLAGS="%{optflags}"\ OPTFLAGS="%{optflags}"\
@ -91,7 +92,8 @@ make %{?_smp_mflags} \
%postun -n libstfl%{sover} -p /sbin/ldconfig %postun -n libstfl%{sover} -p /sbin/ldconfig
%files -n libstfl%{sover} %files -n libstfl%{sover}
%doc COPYING README %license COPYING
%doc README
%{_libdir}/libstfl.so.%{sover} %{_libdir}/libstfl.so.%{sover}
%{_libdir}/libstfl.so.%{sover}.* %{_libdir}/libstfl.so.%{sover}.*