From 528152a73b64969f7b70e09cfdf384204e1478f769a37bc81cc17a6c5b819d60 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Aug 2019 08:20:19 +0000 Subject: [PATCH] Accepting request 720498 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720498 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=250 --- openldap2.changes | 5 +++++ openldap2.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/openldap2.changes b/openldap2.changes index 7acf395..a7ed528 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:16:46 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Thu Jul 25 11:08:46 UTC 2019 - matthias.gerstner@suse.com diff --git a/openldap2.spec b/openldap2.spec index 26a1771..aee4feb 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -267,6 +267,7 @@ mv ../%{name_ppolicy_check_module}-%{version_ppolicy_check_module} contrib/slapd cp %{S:201} contrib/slapd-modules/%{name_ppolicy_check_module}/Makefile %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES -DLDAP_USE_NON_BLOCKING_TLS" export STRIP="" ./configure \