Accepting request 1074133 from home:marxin:branches:Base:System

- Enable LTO and add missing -ffat-lto-objects for the provided
  static libs.

OBS-URL: https://build.opensuse.org/request/show/1074133
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=79
This commit is contained in:
Dirk Mueller 2023-03-24 12:14:17 +00:00 committed by Git OBS Bridge
parent 4647d305df
commit ace206afa6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

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}