No LTO please
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsigsegv?expand=0&rev=18
This commit is contained in:
parent
8941ff90b4
commit
12d2b01fbc
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 06:34:02 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Avoid none debugging libsigsegv, that is add -fno-lto (boo#1133245)
|
||||
- Use %license is known
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 1 20:16:44 UTC 2018 - astieger@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libsigsegv
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ Name: libsigsegv
|
||||
Version: 2.12
|
||||
Release: 0
|
||||
Summary: Library for Handling Page Faults in User Mode
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
Url: https://www.gnu.org/software/libsigsegv/
|
||||
Source0: https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
||||
@ -30,6 +30,9 @@ Source1: https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar
|
||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \
|
||||
%global optflags %{optflags} %{**}
|
||||
|
||||
%description
|
||||
This is a library for handling page faults in user mode. A page fault occurs
|
||||
when a program tries to access to a region of memory that is currently not
|
||||
@ -67,6 +70,7 @@ available.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%add_optflags -fno-lto
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-static
|
||||
@ -88,7 +92,12 @@ make %{?_smp_mflags} check
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files doc
|
||||
%if %{defined license}
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog* NEWS PORTING README
|
||||
%else
|
||||
%doc AUTHORS COPYING ChangeLog* NEWS PORTING README
|
||||
%endif
|
||||
|
||||
%files -n %{lname}
|
||||
%{_libdir}/libsigsegv.so.%{somajor}*
|
||||
|
Loading…
Reference in New Issue
Block a user