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

- Enable LTO as it works fine.

OBS-URL: https://build.opensuse.org/request/show/1073998
OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=77
This commit is contained in:
Takashi Iwai 2023-03-24 09:31:56 +00:00 committed by Git OBS Bridge
parent 0d6a83f543
commit f1d808422a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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> Sat Feb 4 18:39:55 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -94,7 +94,6 @@ libcap.
%autopatch -p1 %autopatch -p1
%build %build
%global _lto_cflags %{nil}
%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}" %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} %make_build %{buildvariables}