Accepting request 1074160 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1074160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2023-03-29 21:25:48 +00:00 committed by Git OBS Bridge
commit 9e17cb08b9
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Mar 24 10:16:26 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO and add missing -ffat-lto-objects for the provided
static libs.
-------------------------------------------------------------------
Fri Mar 24 09:38:17 UTC 2023 - Takashi Iwai <tiwai@suse.com>
- Revert LTO again; it still breaks builds
-------------------------------------------------------------------
Thu Mar 23 15:43:17 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO as it works fine.
-------------------------------------------------------------------
Sat Feb 4 18:39:55 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -94,7 +94,7 @@ libcap.
%autopatch -p1
%build
%global _lto_cflags %{nil}
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%global buildvariables RAISE_SETFCAP=no prefix=%{_prefix} lib=%{_lib} SHARED=yes LIBDIR=%{_libdir} SBINDIR=%{_sbindir} PKGCONFIGDIR=%{_libdir}/pkgconfig/ INCDIR=%{_includedir} MANDIR=%{_mandir} SHARED=yes COPTS="%{optflags}"
%make_build %{buildvariables}