forked from pool/libcap
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:
parent
4647d305df
commit
ace206afa6
@ -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>
|
Fri Mar 24 09:38:17 UTC 2023 - Takashi Iwai <tiwai@suse.com>
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ libcap.
|
|||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%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}"
|
%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}
|
||||||
|
Loading…
Reference in New Issue
Block a user