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
|
Thu Feb 1 20:16:44 UTC 2018 - astieger@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsigsegv
|
# 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
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ Name: libsigsegv
|
|||||||
Version: 2.12
|
Version: 2.12
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Handling Page Faults in User Mode
|
Summary: Library for Handling Page Faults in User Mode
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://www.gnu.org/software/libsigsegv/
|
Url: https://www.gnu.org/software/libsigsegv/
|
||||||
Source0: https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
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
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
|
||||||
BuildRequires: pkgconfig
|
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
|
%description
|
||||||
This is a library for handling page faults in user mode. A page fault occurs
|
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
|
when a program tries to access to a region of memory that is currently not
|
||||||
@ -67,6 +70,7 @@ available.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%add_optflags -fno-lto
|
||||||
%configure \
|
%configure \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static
|
--enable-static
|
||||||
@ -88,7 +92,12 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
%if %{defined license}
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog* NEWS PORTING README
|
||||||
|
%else
|
||||||
%doc AUTHORS COPYING ChangeLog* NEWS PORTING README
|
%doc AUTHORS COPYING ChangeLog* NEWS PORTING README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%{_libdir}/libsigsegv.so.%{somajor}*
|
%{_libdir}/libsigsegv.so.%{somajor}*
|
||||||
|
Loading…
Reference in New Issue
Block a user