From ace206afa694ae31f2c580d540b77529f8ac9c5da1c263a64cb208f22ab56ff1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 24 Mar 2023 12:14:17 +0000 Subject: [PATCH] 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 --- libcap.changes | 6 ++++++ libcap.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libcap.changes b/libcap.changes index 093e72a..24853c6 100644 --- a/libcap.changes +++ b/libcap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 24 10:16:26 UTC 2023 - Martin Liška + +- Enable LTO and add missing -ffat-lto-objects for the provided + static libs. + ------------------------------------------------------------------- Fri Mar 24 09:38:17 UTC 2023 - Takashi Iwai diff --git a/libcap.spec b/libcap.spec index 42e4add..1b2700b 100644 --- a/libcap.spec +++ b/libcap.spec @@ -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}